From 8e44c8fa06381caac76efa562e3ecd856013cb0c Mon Sep 17 00:00:00 2001 From: Malcolm Lockyer Date: Wed, 11 Feb 2026 18:34:14 +1300 Subject: [PATCH] fix(webpack): fix common cfg after webpack-dev-server upgrade [r8s-841] (#1848) --- webpack/webpack.common.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/webpack/webpack.common.js b/webpack/webpack.common.js index 9c065c333..b01e4221c 100644 --- a/webpack/webpack.common.js +++ b/webpack/webpack.common.js @@ -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,