修改并优化了一些功能及bug
This commit is contained in:
@@ -2,8 +2,8 @@ import Request from './luch-request/index.js';
|
||||
// 基础的url
|
||||
|
||||
|
||||
const baseUrl = 'https://yingji.hexieapi.com/prod-api';
|
||||
// const baseUrl = 'http://192.168.1.168:5004';
|
||||
// const baseUrl = 'https://yingji.hexieapi.com/prod-api';
|
||||
const baseUrl = 'http://192.168.1.168:5004';
|
||||
|
||||
// 图片/文件资源域名:去掉 /prod-api,便于 <image> / previewImage / downloadFile 直接访问
|
||||
const imageBaseUrl = baseUrl.replace(/\/prod-api\/?$/, '');
|
||||
|
||||
Reference in New Issue
Block a user