提交 2fe2593a authored 作者: 王鹏飞's avatar 王鹏飞

chore: 修改ip环境变量

上级 93cf1e12
VITE_LOGIN_URL=http://10.10.0.101:1001/auth/login/index VITE_LOGIN_URL=http://172.16.3.203:1001/auth/login/index
VITE_LAB_URL=http://10.10.0.101:1012/bi/viewer?proc=0&action=index VITE_LAB_URL=http://172.16.3.203:1012/bi/viewer?proc=0&action=index
VITE_DML_URL=http://10.10.0.101:1006 VITE_DML_URL=http://172.16.3.203:1006
VITE_DML_PRO_URL=http://10.10.0.101:1007 VITE_DML_PRO_URL=http://172.16.3.203:1007
VITE_SAAS_LEARN_URL=http://10.10.0.101:1009 VITE_SAAS_LEARN_URL=http://172.16.3.203:1009
VITE_QA_CENTER_URL=http://10.10.0.101:1004 VITE_QA_CENTER_URL=http://172.16.3.203:1004
VITE_X_LEARNING_URL=https://x-learning.zijing.chat VITE_X_LEARNING_URL=https://x-learning.zijing.chat
VITE_EXAM_SHOW_URL=https://exam-show.zijing.chat VITE_EXAM_SHOW_URL=https://exam-show.zijing.chat
VITE_SWSJFXS_LOGIN_URL=http://10.10.0.101:1001/swsjfxs/login/index VITE_SWSJFXS_LOGIN_URL=http://172.16.3.203:1001/swsjfxs/login/index
VITE_SYS_FLAG=chat VITE_SYS_FLAG=chat
VITE_STATIC_URL=https://saas-lab-api VITE_STATIC_URL=https://saas-lab-api
import { Base64 } from 'js-base64' import { Base64 } from 'js-base64'
export function getOnlinePreviewUrl(url: string) { export function getOnlinePreviewUrl(url: string) {
return 'http://10.10.0.101:8012/onlinePreview?url=' + encodeURIComponent(Base64.encode(url)) return 'http://172.16.3.203:8012/onlinePreview?url=' + encodeURIComponent(Base64.encode(url))
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论