From ea71e540583ea67b9ddffefb48a641c2c3353f48 Mon Sep 17 00:00:00 2001 From: fahed Date: Thu, 26 Mar 2026 16:49:59 +0300 Subject: [PATCH] fix: change server port to 3002 to avoid conflict with rawaj-v2 Co-Authored-By: Claude Opus 4.6 (1M context) --- server/.env.example | 2 +- server/src/config.ts | 2 +- vite.config.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/.env.example b/server/.env.example index ba1e2d0..19f43f6 100644 --- a/server/.env.example +++ b/server/.env.example @@ -1,5 +1,5 @@ # Server -SERVER_PORT=3001 +SERVER_PORT=3002 # Hono ERP API (museum sales data) ERP_API_URL=https://hono-erp.azurewebsites.net diff --git a/server/src/config.ts b/server/src/config.ts index e3fbaf0..b815c39 100644 --- a/server/src/config.ts +++ b/server/src/config.ts @@ -6,7 +6,7 @@ const __dirname = dirname(fileURLToPath(import.meta.url)); dotenv.config({ path: resolve(__dirname, '..', '.env') }); export const server = { - port: parseInt(process.env.SERVER_PORT || '3001', 10), + port: parseInt(process.env.SERVER_PORT || '3002', 10), }; export const salla = { diff --git a/vite.config.ts b/vite.config.ts index fa10e0b..186efa1 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -7,7 +7,7 @@ export default defineConfig({ port: 3000, proxy: { '/api/erp': { - target: 'http://localhost:3001', + target: 'http://localhost:3002', changeOrigin: true, }, '/api': {