]> git.parisson.com Git - teleforma.git/commitdiff
Handle webpack server on dockdev
authorYoan Le Clanche <yoanl@pilotsystems.net>
Wed, 21 Jul 2021 13:06:46 +0000 (15:06 +0200)
committerYoan Le Clanche <yoanl@pilotsystems.net>
Wed, 21 Jul 2021 13:06:46 +0000 (15:06 +0200)
teleforma/src/vue.config.js

index 0ce35ac5ce27f072223b9f1282a23e548fc42179..50942374c0ac37f790eade62b8145352252e05ec 100644 (file)
@@ -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': '*'