mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-31 23:54:25 +00:00
fix(core): make webpack HMR always listen to current location (#7951)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
This commit is contained in:
parent
fd41f46176
commit
c706b23666
|
|
@ -188,6 +188,10 @@ export async function start(
|
|||
warnings: false,
|
||||
errors: true,
|
||||
},
|
||||
webSocketURL: {
|
||||
hostname: '0.0.0.0',
|
||||
port: 0,
|
||||
},
|
||||
},
|
||||
headers: {
|
||||
'access-control-allow-origin': '*',
|
||||
|
|
|
|||
Loading…
Reference in New Issue