fix: guard service worker cache.put against non-http(s) schemes; correct docs to match actual nginx domain mapping

This commit is contained in:
2026-09-27 19:56:34 +03:30
parent b01da2e04e
commit 112b196809
3 changed files with 15 additions and 12 deletions
+5 -5
View File
@@ -4,10 +4,10 @@ DB_PASSWORD=postgres
DB_NAME=dating_app
DB_PORT=5432
# پورت‌هایی که روی هاست منتشر می‌شن؛ نگینکس خودت رو به این پورت‌ها proxy_pass کن
APP_PORT=8080 # -> api.brainito.ir
WEB_PORT=3000 # -> brainito.ir
ADMIN_PORT=3001 # -> admin.brainito.ir
# پورت‌های داخلی کانتینرها (nginx خودت با نام کانتینر بهشون proxy_pass می‌ده، نه از این پورت‌ها روی هاست)
APP_PORT=8080 # -> brainito.ir
WEB_PORT=3000 # -> app.brainito.ir
ADMIN_PORT=3001 # -> panel.brainito.ir
# آدرس API که موقع build توی باندل کلاینت web/admin جاسازی می‌شه (باید از مرورگر کاربر قابل‌دسترس باشه)
PUBLIC_API_URL=https://api.brainito.ir/api/v1
PUBLIC_API_URL=https://brainito.ir/api/v1