diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-12-07 18:08:00 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-12-07 18:08:00 +0100 |
commit | 69ab047f89359c21c60cd2eb42d62198b6d11b27 (patch) | |
tree | 84dedd8a06518a25c4f91b42d85a8c50c0eca244 /core | |
parent | bec34f12757517a784f6e35fc6b7294ab1673c59 (diff) | |
download | nextcloud-server-69ab047f89359c21c60cd2eb42d62198b6d11b27.tar.gz nextcloud-server-69ab047f89359c21c60cd2eb42d62198b6d11b27.zip |
Redirect to correct URL after updating
Now requires a trailing slash to make sure we don't land on the
forbidden page.
Diffstat (limited to 'core')
-rw-r--r-- | core/js/update.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/update.js b/core/js/update.js index 090f8fa5d23..1626b6f2c49 100644 --- a/core/js/update.js +++ b/core/js/update.js @@ -84,7 +84,7 @@ .append(t('core', 'The update was successful. Redirecting you to ownCloud now.')) .appendTo($el); setTimeout(function () { - OC.redirect(OC.webroot); + OC.redirect(OC.webroot + '/'); }, 3000); } }); |