3
0
Fork 0
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:
Dragory 2024-03-30 13:33:29 +00:00
parent c89c5ea430
commit 3cad4d319e
No known key found for this signature in database
6 changed files with 22 additions and 7 deletions

View file

@ -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,
},