You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/deploy-dev.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -128,7 +128,7 @@ jobs:
128
128
sed -i 's|domain: "\.login\.hotosm\.org"|domain: ".hotosm.org"|g' hanko-config.yaml
129
129
sed -i 's|domain: "\.dev\.login\.hotosm\.org"|domain: ".hotosm.org"|g' hanko-config.yaml
130
130
# Add testlogin domains to all required sections
131
-
for domain in "dev.portal.hotosm.org" "dronetm.testlogin.hotosm.org" "fair.testlogin.hotosm.org" "fair-dev.hotosm.org" "fair.hotosm.org" "umap.testlogin.hotosm.org" "umap-dev.hotosm.org" "export.testlogin.hotosm.org" "chatmap-dev.hotosm.org"; do
131
+
for domain in "dev.portal.hotosm.org" "dev.drone.hotosm.org" "dronetm.testlogin.hotosm.org" "fair.testlogin.hotosm.org" "fair-dev.hotosm.org" "fair.hotosm.org" "umap.testlogin.hotosm.org" "umap-dev.hotosm.org" "export.testlogin.hotosm.org" "chatmap-dev.hotosm.org"; do
132
132
# CORS allow_origins (check specifically in allow_origins section)
133
133
if ! grep -A 10 'allow_origins:' hanko-config.yaml | grep -q "$domain"; then
134
134
sed -i '/allow_origins:/a\ - "https://'"$domain"'"' hanko-config.yaml
0 commit comments