Skip to content

Commit

Permalink
testing fix for deployed server
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Schmalfeldt committed Nov 7, 2023
1 parent 58e861d commit 6a74b43
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,5 @@ public/fallback-*.js
public/sitemap.xml
public/sitemap-*.xml
public/robots.txt

*.log
8 changes: 8 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ const nextConfig = {
unoptimized: true,
},
pageExtensions: ['js', 'jsx', 'md'],
distDir: '_next',
generateBuildId: async () => {
if (process.env.BUILD_ID) {
return process.env.BUILD_ID
} else {
return `${new Date().getTime()}`
}
},
headers: async () => {
return [
{
Expand Down

0 comments on commit 6a74b43

Please sign in to comment.