chore: configure Google OAuth environment variables, update API proxy settings, and ignore .env files
This commit is contained in:
@@ -8,6 +8,7 @@ __pycache__/
|
||||
# de producción y el esqueleto de variables. Nunca subimos .env.local.
|
||||
.env.local
|
||||
.env.*.local
|
||||
.env
|
||||
|
||||
# Override de Docker Compose para desarrollo local (no debe llegar a producción)
|
||||
docker-compose.override.yml
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ services:
|
||||
- ./frontend:/app
|
||||
- /app/node_modules
|
||||
environment:
|
||||
- VITE_API_URL=http://localhost:8070/api
|
||||
- VITE_API_URL=/api
|
||||
depends_on:
|
||||
- backend
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ export default function Header() {
|
||||
<Link to="/" className="flex items-center gap-3 hover:opacity-80 transition-opacity whitespace-nowrap">
|
||||
<img src="/favicon.svg" alt="Deck of Cards Logo" className="w-10 h-10 shadow-sm rounded-xl object-contain" />
|
||||
<span className="text-2xl font-black bg-clip-text text-transparent bg-gradient-to-r from-blue-600 to-indigo-600 hidden sm:block">
|
||||
Deck of Cardssss
|
||||
Deck of Cards
|
||||
</span>
|
||||
</Link>
|
||||
|
||||
|
||||
@@ -10,6 +10,12 @@ export default defineConfig({
|
||||
],
|
||||
server: {
|
||||
host: '0.0.0.0',
|
||||
allowedHosts: true
|
||||
allowedHosts: true,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: process.env.BACKEND_URL || 'http://backend:8000',
|
||||
changeOrigin: true
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user