From dc63a5924955ca4489900d7e83f7dc1219938cde Mon Sep 17 00:00:00 2001 From: M_Kececi Date: Thu, 5 Mar 2026 11:02:48 +0300 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- deploy/deploy.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/deploy/deploy.sh b/deploy/deploy.sh index 65d033f..6bdd7aa 100644 --- a/deploy/deploy.sh +++ b/deploy/deploy.sh @@ -93,7 +93,8 @@ ensure_ui_permissions() { clean_ui_build_artifacts() { cd "$APP_DIR/ui" - rm -rf dist .quasar node_modules/.cache || true + # dist'i silmiyoruz -> eski chunklar kısa süre kalabilir, ChunkLoadError azalır + rm -rf .quasar node_modules/.cache || true } purge_nginx_ui_cache() { @@ -101,7 +102,6 @@ purge_nginx_ui_cache() { } purge_cdn_html_cache() { - # Optional Cloudflare purge. Skip safely if not configured. local zone_id="${CF_ZONE_ID:-}" local api_token="${CF_API_TOKEN:-}" local site_url="${SITE_URL:-https://ss.baggi.com.tr}" @@ -174,10 +174,7 @@ verify_live_ui_hash() { fi local live_html - live_html="$(curl -sS \ - -H "Cache-Control: no-cache" \ - -H "Pragma: no-cache" \ - "${site_url}/" || true)" + live_html="$(curl -sS -H "Cache-Control: no-cache" -H "Pragma: no-cache" "${site_url}/" || true)" if [[ -z "$live_html" ]]; then echo "WARN: live index fetch failed for ${site_url}/" return 0