mirror of
https://github.com/certd/certd.git
synced 2026-06-28 14:37:32 +08:00
perf: 支持全自动匹配部署宝塔网站证书
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user