From 543bcc1095b38027a8a8283cb3cc7c3320564205 Mon Sep 17 00:00:00 2001 From: Matt O'Brien <666272+mgmobrien@users.noreply.github.com> Date: Fri, 15 Nov 2024 17:14:57 -0700 Subject: [PATCH] update: configure paths for GitHub Pages --- apps/www/svelte.config.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/www/svelte.config.js b/apps/www/svelte.config.js index a9ea475..1f93288 100644 --- a/apps/www/svelte.config.js +++ b/apps/www/svelte.config.js @@ -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;