Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
wayne.lee
/
tsms
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
2
Wiki
Actividad
Explorar el Código
update env settings
tags/Baseline_30082024_FRONTEND_UAT
Terence
hace 1 año
padre
7ce644f3c0
commit
03532f14f3
Se han
modificado 3 ficheros
con
5 adiciones
y
2 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+1
-0
.env.development
+3
-1
.env.production
+1
-1
src/config/api.ts
+ 1
- 0
.env.development
Ver fichero
@@ -1,4 +1,5 @@
API_HOST=localhost
API_PORT=8090
API_PROTOCOL=http
API_BASE_PATH=/api
NEXTAUTH_SECRET=secret
+ 3
- 1
.env.production
Ver fichero
@@ -1,4 +1,6 @@
API_HOST=tsms-uat.2fi-solutions.com
API_PORT=80
API_PROTOCOL=https
NEXTAUTH_SECRET=secret
API_BASE_PATH=/back-api
NEXTAUTH_SECRET=secret
NEXTAUTH_URL=tsms-uat.2fi-solutions.com
+ 1
- 1
src/config/api.ts
Ver fichero
@@ -1,2 +1,2 @@
export const BASE_API_URL = `${process.env.API_PROTOCOL}://${process.env.API_HOST}:${process.env.API_PORT}
/api
`;
export const BASE_API_URL = `${process.env.API_PROTOCOL}://${process.env.API_HOST}:${process.env.API_PORT}
${process.env.API_BASE_PATH}
`;
export const LOGIN_API_PATH = `${BASE_API_URL}/login`;
Escribir
Vista previa
Cargando…
Cancelar
Guardar