feat: implement DASHBOARD_ORIGIN for invite and email links, enhancing self-hosted configuration and updating related documentation

This commit is contained in:
Rotimi Best
2026-03-11 17:00:44 +01:00
parent c5c65b96d7
commit fd11bdd4b0
14 changed files with 41 additions and 33 deletions
@@ -158,7 +158,7 @@
logo: logoUrl,
isPublished: $settings.isPublished,
metadata: metadataPayload,
slug: courseApi.course.slug!
slug: courseApi.course.slug ?? undefined
};
const normalizedSelectedTagIds = normalizeTagIds(selectedTagIds);
@@ -16,7 +16,6 @@ export const getSessionData = async (cookies: Cookies): Promise<App.Locals | nul
const locals = await getThroughAuthClient(cioCookies);
console.log('locals', locals);
if (!locals) return null;
// This will always be true because if we don't have classroomio cookies, we won't be able to this line of code.