File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,29 +3,29 @@ import axios from "axios"
33export const GetUrl = ( ) => {
44 const target = process . env . NEXT_PUBLIC_API_TARGET
55
6- let SERVER_PORT = 8000
7- let CLIENT_PORT = 8080
6+ let SERVER_PORT = " 8000"
7+ let CLIENT_PORT = " 8080"
88 switch ( target ) {
99 case "prod" :
10- SERVER_PORT = 8000
11- CLIENT_PORT = 8080
10+ SERVER_PORT = " 8000"
11+ CLIENT_PORT = " 8080"
1212 return {
1313 host : process . env . NEXT_PUBLIC_PROD_SERVER ,
1414 serverPort : SERVER_PORT ,
1515 clientPort : CLIENT_PORT ,
1616 }
1717 case "dev" :
18- SERVER_PORT = 8001
19- CLIENT_PORT = 80
18+ SERVER_PORT = " 8001"
19+ CLIENT_PORT = ""
2020 return {
2121 host : process . env . NEXT_PUBLIC_DEV_SERVER ,
2222 serverPort : SERVER_PORT ,
2323 clientPort : CLIENT_PORT ,
2424 }
2525 case "local" :
2626 default :
27- SERVER_PORT = 8000
28- CLIENT_PORT = 80
27+ SERVER_PORT = " 8000"
28+ CLIENT_PORT = ""
2929 return {
3030 host : process . env . NEXT_PUBLIC_LOCAL_SERVER ,
3131 serverPort : SERVER_PORT ,
You can’t perform that action at this time.
0 commit comments