mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
fix(webpack): include devserverHost in allowedHosts for Docker environments (#36597)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
parent
0bcefe34ac
commit
cde9abfce2
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user