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:
parent
3b7b018084
commit
90ddf21903
@ -74,7 +74,7 @@ const handleStaticFileInDevelopment =
|
|||||||
}
|
}
|
||||||
|
|
||||||
proxy.web(req, res, {
|
proxy.web(req, res, {
|
||||||
target: "http://127.0.0.1:8080",
|
target: "http://127.0.0.1:9191",
|
||||||
});
|
});
|
||||||
|
|
||||||
return { proxy };
|
return { proxy };
|
||||||
|
|||||||
@ -26,6 +26,7 @@ function createDevServer(): WebpackDevServer {
|
|||||||
},
|
},
|
||||||
allowedHosts: "all",
|
allowedHosts: "all",
|
||||||
host: "localhost",
|
host: "localhost",
|
||||||
|
port: 9191,
|
||||||
static: buildDir, // aka `devServer.contentBase` in webpack@4
|
static: buildDir, // aka `devServer.contentBase` in webpack@4
|
||||||
hot: "only", // use HMR only without errors
|
hot: "only", // use HMR only without errors
|
||||||
liveReload: false,
|
liveReload: false,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user