统一在store.js中管理baseUrl
This commit is contained in:
1 parent
dfc26aedea
commit
44f3d57884
5 files changed
+79
-69
No files matched your search
@@ -40,8 +40,8 @@ const setting = useSettingStore();
|
||||
// 服务端端口
|
||||
const serverPort = setting.serverPort;
|
||||
|
||||
var baseUrl =
|
||||
location.protocol + "//" + location.hostname + ":" + serverPort + "/";
|
||||
// const baseUrl = location.protocol + "//" + location.hostname + ":" + serverPort + "/";
|
||||
const baseUrl = setting.baseUrl
|
||||
// console.log(baseUrl);
|
||||
|
||||
// const blob2Uint8Array = function(blob) {
|
||||
|
||||
Reference in new issue
Block a user