From 38be8d84b27fb16a8d6283709944918de67e2c9c Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Fri, 11 Oct 2024 15:43:26 +0800 Subject: [PATCH] chore: agent --- packages/ui/certd-server/src/configuration.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/certd-server/src/configuration.ts b/packages/ui/certd-server/src/configuration.ts index c83ef0f4..9e3db2ef 100644 --- a/packages/ui/certd-server/src/configuration.ts +++ b/packages/ui/certd-server/src/configuration.ts @@ -89,7 +89,7 @@ export class MainConfiguration { this.app.getMiddleware().insertFirst(async (ctx: IMidwayKoaContext, next: NextFunction) => { await next(); if (ctx.path === '/' || ctx.path === '/index.html') { - ctx.response.set('Cache-Control', 'public,max-age=180'); + ctx.response.set('Cache-Control', 'public,max-age=60'); } });