Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
wayne.lee
/
tsms
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Pull requests
0
Versões
2
Wiki
Atividade
Ver código fonte
update env settings
tags/Baseline_30082024_FRONTEND_UAT
Terence
1 ano atrás
pai
7ce644f3c0
commit
03532f14f3
3 arquivos alterados
com
5 adições
e
2 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+1
-0
.env.development
+3
-1
.env.production
+1
-1
src/config/api.ts
+ 1
- 0
.env.development
Ver arquivo
@@ -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 arquivo
@@ -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 arquivo
@@ -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`;
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar