Skip to content

Commit

Permalink
fix issue #240
Browse files Browse the repository at this point in the history
  • Loading branch information
ety001 committed Jul 29, 2024
1 parent 014ed46 commit 4a66f39
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 4a66f39

Please sign in to comment.