remove semicolons
This commit is contained in:
committed by
Lloyd Brookes
parent
0e81c0529b
commit
2ab1fffc0b
@ -166,13 +166,13 @@ function localWebServer (options) {
|
|||||||
|
|
||||||
/* for any URL not matched by static (e.g. `/search`), serve the SPA */
|
/* for any URL not matched by static (e.g. `/search`), serve the SPA */
|
||||||
if (options.spa) {
|
if (options.spa) {
|
||||||
const historyApiFallback = require('koa-connect-history-api-fallback');
|
const historyApiFallback = require('koa-connect-history-api-fallback')
|
||||||
debug('SPA', options.spa)
|
debug('SPA', options.spa)
|
||||||
app.use(historyApiFallback({
|
app.use(historyApiFallback({
|
||||||
index: options.spa,
|
index: options.spa,
|
||||||
verbose: options.verbose,
|
verbose: options.verbose,
|
||||||
rewrites: options.rewrite
|
rewrites: options.rewrite
|
||||||
}));
|
}))
|
||||||
}
|
}
|
||||||
|
|
||||||
/* serve static files */
|
/* serve static files */
|
||||||
|
Reference in New Issue
Block a user