mirror of
https://github.com/nethunterzist/trendyol-analiz
synced 2026-07-02 01:47:04 +00:00
fix: Mixed Content hatası - HTTPS API URL ve CORS
Ne yaptık: - VITE_API_URL http:// → https:// olarak değiştirildi - CORS whitelist'e https:// origin'ler eklendi Neden yaptık: - Coolify/Traefik HTTPS'e yönlendiriyor, frontend https:// üzerinden yükleniyor - Tarayıcı http:// API isteklerini Mixed Content olarak blokluyordu Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -86,7 +86,7 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
# Backend API URL via Coolify Traefik proxy
|
||||
VITE_API_URL: http://trendyol-api.194.187.253.230.sslip.io
|
||||
VITE_API_URL: https://trendyol-api.194.187.253.230.sslip.io
|
||||
restart: unless-stopped
|
||||
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user