Port değişti

This commit is contained in:
2025-11-07 01:48:12 +03:00
parent dd298df953
commit 6a2c07076d
8 changed files with 39 additions and 37 deletions

View File

@@ -53,8 +53,8 @@ npm install
npm run dev
# 4. Tarayıcıda açma
# Frontend: http://localhost:5005
# Backend API: http://localhost:3005
# Frontend: http://localhost:5173
# Backend API: http://localhost:3000
```
#### 1.2 Development Workflow
@@ -1531,7 +1531,7 @@ const getFuelSlips = (userId, status) => {
const corsOptions = {
origin: process.env.NODE_ENV === 'production'
? 'https://your-domain.com'
: ['http://localhost:5005', 'http://localhost:4005'],
: ['http://localhost:5173', 'http://localhost:4173'],
methods: ['GET', 'POST', 'PUT', 'DELETE'],
allowedHeaders: ['Content-Type', 'Authorization'],
credentials: true,

View File

@@ -5,8 +5,8 @@
KNOWLEDGE_BASE.md'deki iş akışlarına göre implement edilen tam fonksiyonel yakıt takip sistemi.
### 🚀 **Sunucu Durumu**
- **Frontend**: `http://localhost:5005/` (SvelteKit)
- **Backend**: `http://localhost:3005` (Express/Socket.IO)
- **Frontend**: `http://localhost:5173/` (SvelteKit)
- **Backend**: `http://localhost:3000` (Express/Socket.IO)
- **Status**: ✅ Çalışıyor
## 🔐 **Test Kullanıcıları**