update ports

This commit is contained in:
smanylov
2026-01-07 19:47:15 +07:00
parent f6b04d6e33
commit a590514e05
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
SESSION_SECRET=odW+sq1yKte/gMgUUu/B/OyXqr45/LMYplPVOlWc+uo=
DEV_URL=http://localhost:81
DEV_URL=http://localhost
+1 -1
View File
@@ -3,7 +3,7 @@
"version": "0.12.0",
"private": true,
"scripts": {
"dev": "next dev -p 80",
"dev": "next dev -p 2999",
"build": "next build",
"start": "next start -p 2999",
"lint": "eslint"
+1 -2
View File
@@ -76,8 +76,7 @@ export const loginFormSchema = z
.trim(),
})
/* export const localDevelopmentUrl = 'http://localhost'; */
export const localDevelopmentUrl = process.env.DEV_URL;
export const localDevelopmentUrl = process.env.DEV_URL ? process.env.DEV_URL : 'http://localhost';
export const API_BASE_URL = process.env.NODE_ENV === 'development'
? localDevelopmentUrl