mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-08 14:33:22 +00:00
More refactoring and porting to React
This commit is contained in:
@@ -5,7 +5,12 @@ var config = require('./webpack.config.dev');
|
||||
new WebpackDevServer(webpack(config), {
|
||||
publicPath: config.output.publicPath,
|
||||
hot: true,
|
||||
historyApiFallback: true
|
||||
historyApiFallback: {
|
||||
rewrites: [
|
||||
// For some reason connect-history-api-fallback does not allow '.' in the URL for history fallback...
|
||||
{ from: /\/outfit\//, to: '/index.html' }
|
||||
]
|
||||
}
|
||||
}).listen(3300, "0.0.0.0", function (err, result) {
|
||||
if (err) {
|
||||
console.log(err);
|
||||
|
||||
Reference in New Issue
Block a user