Pārlūkot izejas kodu

use PORT environment variable for webpack devServer

for local setup without docker
Anukul Sangwan 4 gadi atpakaļ
vecāks
revīzija
0f403a9d16
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      dashboard/webpack.config.js

+ 1 - 0
dashboard/webpack.config.js

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