mirror of https://github.com/vector-im/riot-web
Merge pull request #8239 from vector-im/dbkr/desktop_app_email_link
Fix registration nextLink on desktoppull/8248/head
commit
4f32be9766
|
@ -140,7 +140,7 @@ function onNewScreen(screen) {
|
||||||
// so in that instance, hardcode to use riot.im/app for now instead.
|
// so in that instance, hardcode to use riot.im/app for now instead.
|
||||||
function makeRegistrationUrl(params) {
|
function makeRegistrationUrl(params) {
|
||||||
let url;
|
let url;
|
||||||
if (window.location.protocol === "file:") {
|
if (window.location.protocol === "vector:") {
|
||||||
url = 'https://riot.im/app/#/register';
|
url = 'https://riot.im/app/#/register';
|
||||||
} else {
|
} else {
|
||||||
url = (
|
url = (
|
||||||
|
|
Loading…
Reference in New Issue