From 91ee760ca04e6831ecd60f144a8c74eff9e78656 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Ram=C3=A9?= <8195958+sneko@users.noreply.github.com> Date: Tue, 12 Nov 2024 18:46:53 +0100 Subject: [PATCH] Update webpack.parts.js --- webpack/webpack.parts.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/webpack/webpack.parts.js b/webpack/webpack.parts.js index 4224bd7bd..a532359c8 100644 --- a/webpack/webpack.parts.js +++ b/webpack/webpack.parts.js @@ -34,13 +34,14 @@ exports.configureDevServer = (serverAddress, publicPath, port, siteURL) => ({ '../../modules/**/*.css', ], port, - proxy: { - '**': { + proxy: [ + { + context: ['**'], target: siteURL, secure: false, changeOrigin: true, }, - }, + ], static: { publicPath, },