|
@ -22,7 +22,7 @@ function util_start_browsersync ( ) { |
|
|
return new Promise((resolve, reject) => { |
|
|
return new Promise((resolve, reject) => { |
|
|
browserSync.init({ |
|
|
browserSync.init({ |
|
|
proxy: { |
|
|
proxy: { |
|
|
target: 'http://localhost:3000', |
|
|
target: 'http://localhost:3010', |
|
|
ws: true, |
|
|
ws: true, |
|
|
}, |
|
|
}, |
|
|
host: 'localhost', |
|
|
host: 'localhost', |
|
@ -31,10 +31,10 @@ function util_start_browsersync ( ) { |
|
|
// key: path.join(__dirname, 'ssl', 'dtp-webapp.key'),
|
|
|
// key: path.join(__dirname, 'ssl', 'dtp-webapp.key'),
|
|
|
// cert: path.join(__dirname, 'ssl', 'dtp-webapp.crt'),
|
|
|
// cert: path.join(__dirname, 'ssl', 'dtp-webapp.crt'),
|
|
|
// },
|
|
|
// },
|
|
|
port: 3333, |
|
|
port: 3310, |
|
|
cors: true, |
|
|
cors: true, |
|
|
ui: { |
|
|
ui: { |
|
|
port: 3400, |
|
|
port: 3410, |
|
|
}, |
|
|
}, |
|
|
notify: false, |
|
|
notify: false, |
|
|
ghostMode: { |
|
|
ghostMode: { |
|
|