Skip to content

Commit c12aacd

Browse files
refactor: code
1 parent d8e24ad commit c12aacd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ class Server {
252252
const historyApiFallback = require('connect-history-api-fallback');
253253

254254
const options =
255-
typeof this.options.historyApiFallback !== 'undefined'
255+
typeof this.options.historyApiFallback !== 'boolean'
256256
? this.options.historyApiFallback
257257
: {};
258258

0 commit comments

Comments
 (0)