Skip to content

Commit d5437d7

Browse files
authored
fix: add localhost in kubernetes context to 'IpWhiteList' (#507)
1 parent 3699aac commit d5437d7

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

PxWeb/appsettings.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"DatabaseVendor": "Microsoft",
2020
"ConnectionString": "",
2121
"TableOwner": "dbo"
22-
2322
}
2423
},
2524
"PxApiConfiguration": {
@@ -56,11 +55,7 @@
5655
"PageSize": 20,
5756
"BaseURL": "https://www.pxapi.com",
5857
"RoutePrefix": "/api/v2",
59-
"OutputFormats": [
60-
"xlsx",
61-
"html",
62-
"json-px"
63-
],
58+
"OutputFormats": ["xlsx", "html", "json-px"],
6459
"DefaultOutputFormat": "json-stat2",
6560
"EnableAllEndpointsSwaggerUI": false,
6661
"OmitContentsInTitle": true
@@ -69,7 +64,7 @@
6964
"IndexDirectory": "Database/_INDEX/"
7065
},
7166
"AdminProtection": {
72-
"IpWhitelist": ["127.0.0.1", "::1"],
67+
"IpWhitelist": ["127.0.0.1", "::1", "::ffff:127.0.0.1"],
7368
"AdminKey": "test"
7469
},
7570
"CacheMiddleware": {

0 commit comments

Comments
 (0)