From: Yoan Le Clanche Date: Wed, 21 Jul 2021 13:06:46 +0000 (+0200) Subject: Handle webpack server on dockdev X-Git-Tag: 2.5.0~81 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=88a70ed5795465f71a9dbc7e6030b64ca70a0f0a;p=teleforma.git Handle webpack server on dockdev --- 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': '*'