公告板
版本库
filestore
活动
搜索
登录
何威
/
ckt-web
测控台前端项目
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
A 初次提交
he wei
2023-11-21
62b7215d11e7c08c7f41e26e2ead6ab9f072e55a
[~whychw/ckt-web.git]
/
src
/
assets
/
js
/
getWebUrl.js
1
2
3
4
5
6
7
8
9
10
function getWebUrl() {
let url = '';
if (process.env.NODE_ENV == 'development') {
url = "http://localhost:8094/fdk/"
} else {
url = location.protocol + "//" + location.host + "/fdk/";
}
return url;
}
export default getWebUrl;