alfresco-content-app/e2e/lite-server-proxy.js
2020-09-23 15:32:41 +01:00

19 lines
401 B
JavaScript

let fallback = require('connect-history-api-fallback');
module.exports = {
injectChanges: false, // workaround for Angular 2 styleUrls loading
files: ['./**/*.{html,htm,css,js}'],
watchOptions: {
ignoreInitial: true,
ignored: '*'
},
ghostMode: false,
port: 4200,
open: false,
server: {
middleware: {
1: fallback({ index: '/index.html', verbose: true })
}
}
};