nieyuge 2 年之前
父节点
当前提交
013febcad0
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 = () => {