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 source = event.source;
|
||||||
var data = event.message;
|
var data = event.message;
|
||||||
|
|
||||||
// Uncomment for production
|
if (window.location.href.indexOf('coriolis') != -1 && origin !== "http://coriolis.io") {
|
||||||
// if (origin !== "http://coriolis.io") {
|
return;
|
||||||
// return;
|
}
|
||||||
// }
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
var builds = fromJsonToObject(localStorage.getItem('builds'));
|
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/schemas'), 'schemas'),
|
||||||
new CopyDirPlugin(path.join(__dirname, 'src/images/logo/*'), ''),
|
new CopyDirPlugin(path.join(__dirname, 'src/images/logo/*'), ''),
|
||||||
|
new CopyDirPlugin(path.join(__dirname, 'src/migrate.html'), ''),
|
||||||
new AppCachePlugin({
|
new AppCachePlugin({
|
||||||
network: ['*'],
|
network: ['*'],
|
||||||
settings: ['prefer-online'],
|
settings: ['prefer-online'],
|
||||||
|
|||||||
Reference in New Issue
Block a user