We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd6fc7c commit 8e732d2Copy full SHA for 8e732d2
api/PclusterApiHandler.py
@@ -64,11 +64,11 @@
64
JWKS_URL = os.getenv("JWKS_URL",
65
f"https://cognito-idp.{REGION}.amazonaws.com/{USER_POOL_ID}/" ".well-known/jwks.json")
66
API_BASE_URL_MAPPING = {}
67
-
68
-for url in API_BASE_URL.split(","):
69
- if url:
70
- pair=url.split("=")
71
- API_BASE_URL_MAPPING[pair[0]] = pair[1]
+if API_BASE_URL:
+ for url in API_BASE_URL.split(","):
+ if url:
+ pair=url.split("=")
+ API_BASE_URL_MAPPING[pair[0]] = pair[1]
72
73
74
0 commit comments