Mapping /admin as /admin.html in devMode

This commit is contained in:
Belén Curcio
2018-09-27 10:50:25 -03:00
parent 929fa8ca31
commit adee5377c9
+1 -2
View File
@@ -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",