Explorar el Código

fix: revert endpoint

Acathur hace 5 años
padre
commit
e797a3ff47
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      kaifain_v2/constant.ts

+ 1 - 1
kaifain_v2/constant.ts

@@ -1,2 +1,2 @@
 export const MAIN_HOST = 'proginn.com'
-export const KAIFAIN_ENDPOINT = 'https://proginn.com'
+export const KAIFAIN_ENDPOINT = process.env.NODE_ENV === 'development' ? 'https://web.test.proginn.com' : 'https://proginn.com'