Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -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<61>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
|
||||
|
||||
Reference in New Issue
Block a user