Skip to content

Commit 16e132d

Browse files
committed
Fix HMR
1 parent 0ea9820 commit 16e132d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vue.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ module.exports = {
2525
https: config.https,
2626
clientLogLevel: 'info',
2727
headers: { 'Access-Control-Allow-Origin': '*' },
28+
disableHostCheck: true,
2829
before(app, server) {
2930
const sane = require('sane')
3031
var watcher = sane(path.join(__dirname, config.watchDir), {glob: ['**/*']});

0 commit comments

Comments
 (0)