mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-08 22:33:24 +00:00
Include migrate.html with prod build
This commit is contained in:
@@ -22,10 +22,9 @@
|
||||
var source = event.source;
|
||||
var data = event.message;
|
||||
|
||||
// Uncomment for production
|
||||
// if (origin !== "http://coriolis.io") {
|
||||
// return;
|
||||
// }
|
||||
if (window.location.href.indexOf('coriolis') != -1 && origin !== "http://coriolis.io") {
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
var builds = fromJsonToObject(localStorage.getItem('builds'));
|
||||
|
||||
@@ -74,6 +74,7 @@ module.exports = {
|
||||
}),
|
||||
new CopyDirPlugin(path.join(__dirname, 'src/schemas'), 'schemas'),
|
||||
new CopyDirPlugin(path.join(__dirname, 'src/images/logo/*'), ''),
|
||||
new CopyDirPlugin(path.join(__dirname, 'src/migrate.html'), ''),
|
||||
new AppCachePlugin({
|
||||
network: ['*'],
|
||||
settings: ['prefer-online'],
|
||||
|
||||
Reference in New Issue
Block a user