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:
1 parent
3b7b018084
commit
90ddf21903
2 files changed
+2
-1
No files matched your search
@@ -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 };
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user