fix(webpack): fix common cfg after webpack-dev-server upgrade [r8s-841] (#1848)

This commit is contained in:
Malcolm Lockyer
2026-02-11 18:34:14 +13:00
committed by GitHub
parent 20db102327
commit 8e44c8fa06
+6 -3
View File
@@ -103,9 +103,12 @@ module.exports = {
},
compress: true,
port: 8999,
proxy: {
'/api': 'http://localhost:9000',
},
proxy: [
{
context: ['/api'],
target: 'http://localhost:9000',
},
],
open: true,
devMiddleware: {
writeToDisk: true,