Skip to content

Commit

Permalink
base set for github correctly doing local build
Browse files Browse the repository at this point in the history
  • Loading branch information
btopro committed Jul 26, 2024
1 parent 0c9e464 commit 905ea3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ module.exports = () => {
else if (process.env.HAXCMS_GITHUB) {
// change these if you have a custom domain
basePath = `/${gitProject}/`;
if (!process.env.HAXCMS_CDN) {
cdnBase = `/${gitProject}/`
}
url = `https://${gitOrg}.github.io/${gitProject}`;
}
else if (process.env.HAXCMS_CONTEXT == 'haxcms') {
Expand Down

0 comments on commit 905ea3d

Please sign in to comment.