Skip to content

Commit 25ef091

Browse files
committed
Fix registration nextLink on desktop
Another instance of detecting the file: protocol Fixes element-hq#8235
1 parent 91c037e commit 25ef091

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/vector/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ function onNewScreen(screen) {
140140
// so in that instance, hardcode to use riot.im/app for now instead.
141141
function makeRegistrationUrl(params) {
142142
let url;
143-
if (window.location.protocol === "file:") {
143+
if (window.location.protocol === "vector:") {
144144
url = 'https://riot.im/app/#/register';
145145
} else {
146146
url = (

0 commit comments

Comments
 (0)