From 88a70ed5795465f71a9dbc7e6030b64ca70a0f0a Mon Sep 17 00:00:00 2001 From: Yoan Le Clanche Date: Wed, 21 Jul 2021 15:06:46 +0200 Subject: [PATCH] Handle webpack server on dockdev --- teleforma/src/vue.config.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/teleforma/src/vue.config.js b/teleforma/src/vue.config.js index 0ce35ac5..50942374 100644 --- a/teleforma/src/vue.config.js +++ b/teleforma/src/vue.config.js @@ -3,13 +3,15 @@ const outputDir = '../static/teleforma/dist'; module.exports = { - publicPath: 'http://172.24.104.152:3000/', + // publicPath: 'http://172.24.104.152:3000/', css: { sourceMap: true }, configureWebpack: { devServer: { - host: '0.0.0.0', + host: "npm3000.dockdev.pilotsystems.net", + public: "https://npm3000.dockdev.pilotsystems.net", + https: false, port: 3000, headers: { 'Access-Control-Allow-Origin': '*' -- 2.39.5