开发:更新地址

pull/2954/MERGE
ChenX 2 months ago
parent cc02af5f8c
commit e3099ae5e0

@ -12,8 +12,8 @@ import { HotCMD } from "../../Hot/HotCommand";
const ADDSTRS = ["秒", "分", "时", "号", "月"];
//暂时兼容旧的历史记录
let FileHistoryUrl = "https://cf.qcad.cc:25111/file";
let FileHistoryFilesUrl = "https://cf.qcad.cc:25111/webcad/";
let FileHistoryUrl = "https://cf.cfcad.cn:25111/file";
let FileHistoryFilesUrl = "https://cf.cfcad.cn:25111/webcad/";
//有时候打开的图纸我们无法撤销,这是预期内的,因为我们备份的文件是PU过的,此时我们的历史记录尝试去还原这个操作的时候就会出错

@ -61,7 +61,7 @@ export async function ReportError(stack: any, msg: string = "未捕获的错误!
let fileServer = FileServer.GetInstance();
let lastFileKey = fileServer.m_CurFileId;
await fetch("https://cf.qcad.cc:25111/logs/error", {
await fetch("https://cf.cfcad.cn:25111/logs/error", {
method: 'POST',
mode: 'cors',
body: JSON.stringify({

Loading…
Cancel
Save