fix build id issue

This commit is contained in:
keyan 2023-06-01 15:03:13 -05:00
parent c93ae90578
commit 23a9c76e52
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ module.exports = withPWA({
experimental: { experimental: {
scrollRestoration: true scrollRestoration: true
}, },
generateBuildId: isProd ? commitHash : undefined, generateBuildId: isProd ? async () => commitHash : undefined,
// Use the CDN in production and localhost for development. // Use the CDN in production and localhost for development.
assetPrefix: isProd ? 'https://a.stacker.news' : undefined, assetPrefix: isProd ? 'https://a.stacker.news' : undefined,
async headers () { async headers () {