Merge branch 'dev'
CI/CD / deploy (push) Has been cancelled
Details
CI/CD / deploy (push) Has been cancelled
Details
This commit is contained in:
commit
ca6d5402b8
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue