Skip to content

Commit

Permalink
Merge pull request #39 from One-Click-Auth/moonlightnexus-cache-imple…
Browse files Browse the repository at this point in the history
…mentation

Update next.config.js
  • Loading branch information
moonlightnexus authored Oct 11, 2023
2 parents 4d286c8 + 7a8b909 commit 16fc73c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
async headers () {
return [
{
source: '/(.*)',
headers: [
{
key: 'Cache-Control',
value: 'public, max-age=2592000'
}
]
}
]
}
}

module.exports = nextConfig

0 comments on commit 16fc73c

Please sign in to comment.