Skip to content

Commit

Permalink
fix wallet issue240 (#3921)
Browse files Browse the repository at this point in the history
  • Loading branch information
ety001 authored Jul 29, 2024
1 parent 6e1223c commit e54a10e
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 @@ -285,6 +285,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 e54a10e

Please sign in to comment.