From 551097eb80e16a12ff2a51799b759df7beb28710 Mon Sep 17 00:00:00 2001 From: ety001 Date: Mon, 29 Jul 2024 18:54:08 +0800 Subject: [PATCH] fix issue #240 (#242) --- src/server/server.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/server/server.js b/src/server/server.js index aa9b5940..e362ad8a 100644 --- a/src/server/server.js +++ b/src/server/server.js @@ -254,6 +254,13 @@ app.use( ) ); +app.use( + mount( + '/.well-known', + staticCache(path.join(__dirname, '../../.well-known'), cacheOpts) + ) +); + app.use( mount('/robots.txt', function*() { this.set('Cache-Control', 'public, max-age=86400000');