diff --git a/customize.dist/main.js b/customize.dist/main.js index 633f4c573..b25186e05 100644 --- a/customize.dist/main.js +++ b/customize.dist/main.js @@ -25,6 +25,10 @@ define([ $main.find('#data').removeClass('hidden'); if (Cryptpad.isLoggedIn()) { + if (window.location.pathname === '/') { + window.location = '/drive/'; + } + var name = localStorage[Cryptpad.userNameKey] || sessionStorage[Cryptpad.userNameKey]; var $loggedInBlock = $main.find('#loggedIn'); var $hello = $loggedInBlock.find('#loggedInHello');