perf: 支持全自动匹配部署宝塔网站证书

This commit is contained in:
xiaojunnuo
2026-06-27 00:20:04 +08:00
parent 8abe0daf20
commit 4dff48e807
12 changed files with 193 additions and 79 deletions
@@ -55,7 +55,7 @@ export class FileController extends BaseController {
const key = await this.fileService.saveFile(this.getUserId(), cacheKey, "public");
return this.ok({
key,
url: `/api/basic/file/download?key=${encodeURIComponent(key)}`,
url: `/api/basic/file/download?key=${encodeURIComponent(key as string)}`,
});
}
return this.ok({