fix: Use domain instead of IP for favicon asset verification in deploy
- Change favicon verification from http://${DEPLOY_HOST} (IP) to https://quant.taxbaik.com (domain) - Nginx routes based on domain name in Host header, not IP address - Fixes CI/CD deploy-prod stage failures Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -175,8 +175,8 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "=== Verifying Favicon Assets ==="
|
echo "=== Verifying Favicon Assets ==="
|
||||||
favicon_svg_code=$(curl -s -o /dev/null -w "%{http_code}" "http://${DEPLOY_HOST}/favicon.svg")
|
favicon_svg_code=$(curl -s -o /dev/null -w "%{http_code}" "https://quant.taxbaik.com/favicon.svg")
|
||||||
favicon_png_code=$(curl -s -o /dev/null -w "%{http_code}" "http://${DEPLOY_HOST}/favicon.png")
|
favicon_png_code=$(curl -s -o /dev/null -w "%{http_code}" "https://quant.taxbaik.com/favicon.png")
|
||||||
echo "/favicon.svg -> ${favicon_svg_code}"
|
echo "/favicon.svg -> ${favicon_svg_code}"
|
||||||
echo "/favicon.png -> ${favicon_png_code}"
|
echo "/favicon.png -> ${favicon_png_code}"
|
||||||
if [ "$favicon_svg_code" != "200" ] && [ "$favicon_png_code" != "200" ]; then
|
if [ "$favicon_svg_code" != "200" ] && [ "$favicon_png_code" != "200" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user