mirror of
https://github.com/certd/certd.git
synced 2026-04-23 11:37:23 +08:00
perf: cname 域名映射记录可读性优化
This commit is contained in:
@@ -41,6 +41,7 @@ export class FileController extends BaseController {
|
||||
}
|
||||
const filePath = this.fileService.getFile(key, userId);
|
||||
this.ctx.response.attachment(filePath);
|
||||
this.ctx.response.set('Cache-Control', 'public,max-age=2592000');
|
||||
await send(this.ctx, filePath);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user