Merge branch 'dev'
CI/CD / deploy (push) Has been cancelled Details

This commit is contained in:
Jeff Emmett 2026-04-11 09:05:51 -04:00
commit ca6d5402b8
1 changed files with 1 additions and 7 deletions

View File

@ -844,14 +844,8 @@ export function renderShell(opts: ShellOptions): string {
return;
}
// Private spaces: redirect logged-out visitors to the module landing page
// Private spaces: show sign-in gate for logged-out visitors
if (!hasToken) {
var host = window.location.host.split(':')[0];
if (host.endsWith('.rspace.online') || host === 'rspace.online') {
var modId = document.body.getAttribute('data-module-id') || 'rspace';
window.location.replace('https://rspace.online/' + modId);
return;
}
showGate('sign-in');
return;
}