Skip to content

Commit

Permalink
path fix
Browse files Browse the repository at this point in the history
  • Loading branch information
muddlebee committed Dec 3, 2024
1 parent 254f55f commit 25ebb7c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions next.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
output: 'export', // This is necessary for static export
images: {
unoptimized: true,
unoptimized: true, // This can help with image loading on GitHub Pages
},
basePath: process.env.NODE_ENV === 'production' ? '/swush-me-landing' : '',
basePath: process.env.NODE_ENV === 'production' ? '/swush-me-landing' : '', // Adjusts the base path for production
}

module.exports = nextConfig
module.exports = nextConfig

0 comments on commit 25ebb7c

Please sign in to comment.