Support HTTPS deployment under /generadorexamenesllm behind reverse proxy.
This updates frontend base-path routing, same-origin API proxying, and deployment defaults/docs so the app works correctly through the Sinbad2 Apache ProxyPass setup.
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
# URL base del backend (accesible desde el navegador)
|
||||
VITE_API_URL=http://sinbad2.ujaen.es:8074
|
||||
# Base pública de la app cuando va tras proxy (debe terminar en /)
|
||||
# Ejemplo producción UJA: /generadorexamenesllm/
|
||||
VITE_APP_BASE_PATH=/generadorexamenesllm/
|
||||
|
||||
# URL base del backend (accesible desde el navegador).
|
||||
# Si se deja vacía, usa la misma base de la app (recomendado tras proxy HTTPS).
|
||||
VITE_API_URL=
|
||||
|
||||
# (Opcional) Client ID de Google para "Iniciar sesión con Google".
|
||||
# Debe coincidir con GOOGLE_CLIENT_ID del backend.
|
||||
|
||||
Reference in New Issue
Block a user