diff --git a/next.config.mjs b/next.config.mjs index 825a445..2b83507 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -7,7 +7,7 @@ const nextConfig = { headers: [ { key: "Access-Control-Allow-Origin", - value: "https://f1api.dev", + value: "*", }, { key: "Access-Control-Allow-Methods", @@ -17,6 +17,10 @@ const nextConfig = { key: "Access-Control-Allow-Headers", value: "Content-Type, Authorization", }, + { + key: "Access-Control-Max-Age", + value: "300", + }, ], }, ]