Skip to content

Commit 0d4fa89

Browse files
YuvalYuval
authored andcommitted
fix(ci): use region-scoped hostname for frontend App Service
The frontend App Service lives on the newer region-scoped DNS (*.israelcentral-01.azurewebsites.net) rather than the classic *.azurewebsites.net. Update the health check URL and the backend CORS allowlist to match; otherwise the deploy succeeds but the browser and the CD health check both hit the wrong hostname.
1 parent da1acd9 commit 0d4fa89

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
run: |
154154
sleep 60
155155
for i in $(seq 1 12); do
156-
STATUS=$(curl -s -o /dev/null -w "%{http_code}" https://app-groundshare-web.azurewebsites.net/ || true)
156+
STATUS=$(curl -s -o /dev/null -w "%{http_code}" https://app-groundshare-web-ekfneqfaahaca8ek.israelcentral-01.azurewebsites.net/ || true)
157157
if [ "$STATUS" = "200" ]; then
158158
echo "Health check passed"
159159
exit 0

02-Server/appsettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"http://localhost:5173",
3131
"http://localhost:4173",
3232
"https://localhost:5173",
33-
"https://app-groundshare-web.azurewebsites.net"
33+
"https://app-groundshare-web-ekfneqfaahaca8ek.israelcentral-01.azurewebsites.net"
3434
]
3535
}
3636
}

0 commit comments

Comments
 (0)