1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Move devserver to different port

Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>
This commit is contained in:
DmitriyNoa 2022-04-08 11:41:09 +02:00
parent 3b7b018084
commit 90ddf21903
2 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,7 @@ const handleStaticFileInDevelopment =
}
proxy.web(req, res, {
target: "http://127.0.0.1:8080",
target: "http://127.0.0.1:9191",
});
return { proxy };

View File

@ -26,6 +26,7 @@ function createDevServer(): WebpackDevServer {
},
allowedHosts: "all",
host: "localhost",
port: 9191,
static: buildDir, // aka `devServer.contentBase` in webpack@4
hot: "only", // use HMR only without errors
liveReload: false,