chore: backend pe portul 8001 și ignoră .pids
Portul 8000 e folosit de alt proiect (roa2web) în acest mediu; mut backend-ul space-booking pe 8001 și actualizez proxy-ul Vite `/api` în consecință, ca cele două să coexiste. Adaug `.pids` în .gitignore. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -32,3 +32,6 @@ Thumbs.db
|
|||||||
# Env files
|
# Env files
|
||||||
.env
|
.env
|
||||||
.env.local
|
.env.local
|
||||||
|
|
||||||
|
# Runtime
|
||||||
|
.pids
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ export default defineConfig({
|
|||||||
allowedHosts: ['claude-agent', 'localhost'],
|
allowedHosts: ['claude-agent', 'localhost'],
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api': {
|
||||||
target: 'http://localhost:8000',
|
target: 'http://localhost:8001',
|
||||||
changeOrigin: true
|
changeOrigin: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user