nieyuge 2 years ago
parent
commit
013febcad0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/static/utils/index.ts

+ 1 - 1
src/static/utils/index.ts

@@ -5,7 +5,7 @@ import { getStorage, storageKey } from './storage'
 export const appVersionCode = 16;
 export const appType = 1;
 // @ts-ignore
-export const callBackUrl = process.env.NODE_ENV === `production` ? `https://denet.me/close` : `https://test.denet.me/close`
+export const callBackUrl = process.env.NODE_ENV === `production` ? `https://denet.me/close` : process.env.NODE_ENV === `pre` ? `https://pre.denet.me/close` : `https://test.denet.me/close`
 
 // 获取host
 export const getEnvConfig = () => {