mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
fix: webpack dev server + index fallback for prod serve.js
This commit is contained in:
parent
c89c5ea430
commit
3cad4d319e
6 changed files with 22 additions and 7 deletions
|
@ -173,7 +173,7 @@ if (process.env.NODE_ENV === "production") {
|
|||
mode: "development",
|
||||
devtool: "eval",
|
||||
devServer: {
|
||||
...(process.env.DEV_HOST ? { host: process.env.DEV_HOST } : undefined),
|
||||
allowedHosts: "all",
|
||||
historyApiFallback: true,
|
||||
port: 3002,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue