Skip to content

Commit

Permalink
chore: Update basePath in next.config.mjs to conditionally set it bas…
Browse files Browse the repository at this point in the history
…ed on environment
  • Loading branch information
brignano authored Jul 27, 2024
1 parent 073dc36 commit 9e914bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const nextConfig = {
*
* @see https://nextjs.org/docs/app/api-reference/next-config-js/basePath
*/
basePath: "/resume",
basePath: (process.env.CI ? "/resume" : ""),

/**
* Disable server-based image optimization. Next.js does not support
Expand Down

0 comments on commit 9e914bf

Please sign in to comment.