diff --git a/keyserver/src/keyserver.js b/keyserver/src/keyserver.js index 84176770f1..57a1baeeaf 100644 --- a/keyserver/src/keyserver.js +++ b/keyserver/src/keyserver.js @@ -134,6 +134,17 @@ import { if (landingBaseRoutePath) { const landingRouter = express.Router(); landingRouter.get('/invite/:secret', inviteResponder); + landingRouter.use( + '/.well-known', + express.static( + '.well-known', + // Necessary for apple-app-site-association file + { + setHeaders: res => + res.setHeader('Content-Type', 'application/json'), + }, + ), + ); landingRouter.use('/images', express.static('images')); landingRouter.use('/fonts', express.static('fonts')); landingRouter.use(