fix: vite config allowedhost read from .env
All checks were successful
Update changelog / changelog (push) Successful in 26s

This commit is contained in:
Pc
2026-01-03 15:54:50 +01:00
parent ceeb2cccaf
commit 95f449a3d2
4 changed files with 46 additions and 67 deletions

View File

@@ -1,7 +1,7 @@
# Site info
PUBLIC_URL=https://example.com # Publicly accessible website root, used for rewrites. Note there is no trailing slash in the URL.
USE_SUBDOMAINS=true # Whether backend allows for use of subdomains in URL generation.
PUBLIC_URL=https://example.com
USE_SUBDOMAINS=true
DEBUG=false
# Frontend specific
<miejsce na twoje zmienne>
VITE_API_TARGET=kitkat.example.com # Target backend for API requests.
VITE_API_TARGET=https://pies.com
VITE_ALLOWED_HOST=pies.com