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': {