add trailing slash when redirecting to drive

pull/1/head
ansuz 2018-04-30 11:47:53 +02:00
parent a66d33e5ca
commit 699a635746
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ define([
// 3rd case: profile creation (create a new random hash, store it later if needed)
if (!Utils.LocalStore.isLoggedIn()) {
// Unregistered users can't create a profile
window.location.href = '/drive';
window.location.href = '/drive/';
return void cb();
}
var hash = Hash.createRandomHash();