From 5f7ba242a2efd423e4206e93016f75d19e7a3174 Mon Sep 17 00:00:00 2001 From: Luka Isailovic Date: Tue, 7 May 2024 16:45:09 +0200 Subject: [PATCH] fix: apple-app-site-association content type header (#2217) --- apps/laboratory/next.config.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/apps/laboratory/next.config.js b/apps/laboratory/next.config.js index 448e80cf65..6fd6c419fe 100644 --- a/apps/laboratory/next.config.js +++ b/apps/laboratory/next.config.js @@ -3,7 +3,15 @@ const nextConfig = { reactStrictMode: true, trailingSlash: true, distDir: 'out', - cleanDistDir: true + cleanDistDir: true, + async headers() { + return [ + { + source: '/.well-known/apple-app-site-association', + headers: [{ key: 'content-type', value: 'application/json' }] + } + ] + } } module.exports = nextConfig