Skip to content

Commit

Permalink
Update next.config.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanpoland authored Sep 12, 2024
1 parent 8841197 commit 60e2eab
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,26 @@ const nextConfig = {
},
],
},
output: "export",

/**
* Set base path. This is the slug of your GitHub repository.
*
* @see https://nextjs.org/docs/app/api-reference/next-config-js/basePath
*/
basePath: "/Horizon-Website",

/**
* Disable server-based image optimization. Next.js does not support
* dynamic features with static exports.
*
* @see https://nextjs.org/docs/app/api-reference/components/image#unoptimized
*/
images: {
unoptimized: true,
},
};

};

export default nextConfig;

0 comments on commit 60e2eab

Please sign in to comment.