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:
Claude Agent
2026-07-10 18:02:53 +00:00
parent fd36483cf2
commit 2c417bf36a
3 changed files with 5 additions and 2 deletions

3
.gitignore vendored
View File

@@ -32,3 +32,6 @@ Thumbs.db
# Env files # Env files
.env .env
.env.local .env.local
# Runtime
.pids

View File

@@ -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
} }
} }

View File

@@ -12,7 +12,7 @@ YELLOW='\033[1;33m'
RED='\033[0;31m' RED='\033[0;31m'
NC='\033[0m' NC='\033[0m'
BACKEND_PORT=8000 BACKEND_PORT=8001
FRONTEND_PORT=5173 FRONTEND_PORT=5173
stop_services() { stop_services() {