mirror of
https://github.com/wassname/talk.git
synced 2026-07-19 11:28:50 +08:00
Mapping /admin as /admin.html in devMode
This commit is contained in:
@@ -59,9 +59,8 @@ export default function({
|
||||
},
|
||||
overlay: false,
|
||||
historyApiFallback: {
|
||||
// Paths with dots should still use the history fallback.
|
||||
// See https://github.com/facebookincubator/create-react-app/issues/387.
|
||||
disableDotRule: true,
|
||||
rewrites: [{ from: /^\/admin/, to: "/admin.html" }],
|
||||
},
|
||||
public: allowedHost,
|
||||
index: "embed.html",
|
||||
|
||||
Reference in New Issue
Block a user