mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Fix registration nextLink on desktop
Another instance of detecting the file: protocol Fixes https://github.com/vector-im/riot-web/issues/8235
This commit is contained in:
parent
91c037e578
commit
25ef0913bb
@ -140,7 +140,7 @@ function onNewScreen(screen) {
|
||||
// so in that instance, hardcode to use riot.im/app for now instead.
|
||||
function makeRegistrationUrl(params) {
|
||||
let url;
|
||||
if (window.location.protocol === "file:") {
|
||||
if (window.location.protocol === "vector:") {
|
||||
url = 'https://riot.im/app/#/register';
|
||||
} else {
|
||||
url = (
|
||||
|
Loading…
Reference in New Issue
Block a user