update ports
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
SESSION_SECRET=odW+sq1yKte/gMgUUu/B/OyXqr45/LMYplPVOlWc+uo=
|
SESSION_SECRET=odW+sq1yKte/gMgUUu/B/OyXqr45/LMYplPVOlWc+uo=
|
||||||
DEV_URL=http://localhost:81
|
DEV_URL=http://localhost
|
||||||
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
"version": "0.12.0",
|
"version": "0.12.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev -p 80",
|
"dev": "next dev -p 2999",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "next start -p 2999",
|
"start": "next start -p 2999",
|
||||||
"lint": "eslint"
|
"lint": "eslint"
|
||||||
|
|||||||
@@ -76,8 +76,7 @@ export const loginFormSchema = z
|
|||||||
.trim(),
|
.trim(),
|
||||||
})
|
})
|
||||||
|
|
||||||
/* export const localDevelopmentUrl = 'http://localhost'; */
|
export const localDevelopmentUrl = process.env.DEV_URL ? process.env.DEV_URL : 'http://localhost';
|
||||||
export const localDevelopmentUrl = process.env.DEV_URL;
|
|
||||||
|
|
||||||
export const API_BASE_URL = process.env.NODE_ENV === 'development'
|
export const API_BASE_URL = process.env.NODE_ENV === 'development'
|
||||||
? localDevelopmentUrl
|
? localDevelopmentUrl
|
||||||
|
|||||||
Reference in New Issue
Block a user