feat(remote): 添加 CORS 中间件支持文件跨域访问

This commit is contained in:
2026-03-09 17:27:47 +08:00
parent 92088e9c8a
commit 49bf8a97d2
22 changed files with 467 additions and 62 deletions

View File

@@ -20,7 +20,7 @@ export const config = {
},
get tempRoot(): string {
return path.join(os.tmpdir(), 'xcnote_uploads')
return path.join(os.tmpdir(), 'xcdesktop_uploads')
},
get serverPort(): number {