everywhere: allow subdir-ed origin setups
Closes https://gitlab.com/commento/commento-ce/issues/61
This commit is contained in:
@@ -34,9 +34,9 @@
|
||||
}
|
||||
|
||||
if (resp.confirmEmail)
|
||||
document.location = "/confirm-email";
|
||||
document.location = global.commentoOrigin + "/confirm-email";
|
||||
else
|
||||
document.location = "/login?signedUp=true";
|
||||
document.location = global.commentoOrigin + "/login?signedUp=true";
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user