fix: change server port to 3002 to avoid conflict with rawaj-v2
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# Server
|
# Server
|
||||||
SERVER_PORT=3001
|
SERVER_PORT=3002
|
||||||
|
|
||||||
# Hono ERP API (museum sales data)
|
# Hono ERP API (museum sales data)
|
||||||
ERP_API_URL=https://hono-erp.azurewebsites.net
|
ERP_API_URL=https://hono-erp.azurewebsites.net
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ const __dirname = dirname(fileURLToPath(import.meta.url));
|
|||||||
dotenv.config({ path: resolve(__dirname, '..', '.env') });
|
dotenv.config({ path: resolve(__dirname, '..', '.env') });
|
||||||
|
|
||||||
export const server = {
|
export const server = {
|
||||||
port: parseInt(process.env.SERVER_PORT || '3001', 10),
|
port: parseInt(process.env.SERVER_PORT || '3002', 10),
|
||||||
};
|
};
|
||||||
|
|
||||||
export const salla = {
|
export const salla = {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export default defineConfig({
|
|||||||
port: 3000,
|
port: 3000,
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api/erp': {
|
'/api/erp': {
|
||||||
target: 'http://localhost:3001',
|
target: 'http://localhost:3002',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
},
|
},
|
||||||
'/api': {
|
'/api': {
|
||||||
|
|||||||
Reference in New Issue
Block a user