fix(webpack): include devserverHost in allowedHosts for Docker environments (#36597)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Maxime Beauchemin
2025-12-12 13:35:56 -08:00
committed by GitHub
parent 0bcefe34ac
commit cde9abfce2

View File

@@ -632,7 +632,16 @@ if (isDevMode) {
hot: true,
host: devserverHost,
port: devserverPort,
allowedHosts: ['localhost', '.localhost', '127.0.0.1', '::1', '.local'],
allowedHosts: [
...new Set([
devserverHost,
'localhost',
'.localhost',
'127.0.0.1',
'::1',
'.local',
]),
],
proxy: [() => proxyConfig],
client: {
overlay: {