jnfrati 4 роки тому
батько
коміт
cec3d9e697
1 змінених файлів з 0 додано та 3 видалено
  1. 0 3
      dashboard/webpack.config.js

+ 0 - 3
dashboard/webpack.config.js

@@ -78,7 +78,6 @@ module.exports = () => {
       publicPath: "/",
       publicPath: "/",
     },
     },
     devServer: {
     devServer: {
-      port: env["PORT"],
       historyApiFallback: true,
       historyApiFallback: true,
       disableHostCheck: true,
       disableHostCheck: true,
       host: "0.0.0.0",
       host: "0.0.0.0",
@@ -134,9 +133,7 @@ module.exports = () => {
   if (env.ENABLE_ANALYZER) {
   if (env.ENABLE_ANALYZER) {
     config.plugins.push(new BundleAnalyzerPlugin());
     config.plugins.push(new BundleAnalyzerPlugin());
   }
   }
-  console.log(env);
   if (env.ENABLE_PROXY) {
   if (env.ENABLE_PROXY) {
-    console.log("WORKED!");
     if (!env.API_SERVER) {
     if (!env.API_SERVER) {
       throw new Error(
       throw new Error(
         "API_SERVER is not present on .env! Please setup the api server url if you want the proxy to work! API_SERVER example: http://localhost:8080"
         "API_SERVER is not present on .env! Please setup the api server url if you want the proxy to work! API_SERVER example: http://localhost:8080"