Skip to content

Commit

Permalink
update: configure paths for GitHub Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
mgmobrien committed Nov 16, 2024
1 parent 65ec1eb commit 543bcc1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions apps/www/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,25 @@ const config = {
assets: "build",
fallback: "404.html",
precompress: false,
strict: true,
strict: true
}),
paths: {
base: '/system3-website-public'
base: '/system3-website-public',
relative: false
},
appDir: '_app',
trailingSlash: 'always',
prerender: {
handleMissingId: (details) => {
if (details.id === "#") return;
console.warn(details.message);
},
handleHttpError: ({ path, referrer, message }) => {
// Ignore missing favicons
if (path.includes('favicon')) return;

// otherwise warn
console.warn(`${path} (referred to by ${referrer}) failed to prerender: ${message}`);
}
},
},
}
}
};

export default config;

0 comments on commit 543bcc1

Please sign in to comment.