mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-04 03:48:13 +08:00
remove static route redirects / bump static to top level (#1299)
* add another favicon rule * catch only top-level dataset names * add config flag to disable redirects * remove static redirect, point all links to top-level /static * remove extraneous argument * remove httpd redirect
This commit is contained in:
@@ -90,7 +90,7 @@ module.exports = {
|
||||
__REACT_DEVTOOLS_GLOBAL_HOOK__: "({ isDisabled: true })"
|
||||
}),
|
||||
new webpack.DefinePlugin({
|
||||
"process.env.CXG_SERVER_PORT": JSON.stringify(process.env.CXG_SERVER_PORT),
|
||||
"process.env.CXG_SERVER_PORT": JSON.stringify(process.env.CXG_SERVER_PORT)
|
||||
})
|
||||
]
|
||||
};
|
||||
|
||||
@@ -11,7 +11,7 @@ const nodeModules = path.resolve("node_modules");
|
||||
|
||||
const babelOptions = require("../babel/babel.prod");
|
||||
|
||||
const publicPath = "";
|
||||
const publicPath = "/";
|
||||
|
||||
module.exports = {
|
||||
mode: "production",
|
||||
|
||||
Reference in New Issue
Block a user