Przeglądaj źródła

use PORT environment variable for webpack devServer

for local setup without docker
Anukul Sangwan 4 lat temu
rodzic
commit
0f403a9d16
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      dashboard/webpack.config.js

+ 1 - 0
dashboard/webpack.config.js

@@ -54,6 +54,7 @@ module.exports = () => {
       publicPath: "/",
     },
     devServer: {
+      port: env["PORT"],
       historyApiFallback: true,
       disableHostCheck: true,
     },