summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-12-07 18:08:00 +0100
committerVincent Petry <pvince81@owncloud.com>2015-12-07 18:08:00 +0100
commit69ab047f89359c21c60cd2eb42d62198b6d11b27 (patch)
tree84dedd8a06518a25c4f91b42d85a8c50c0eca244 /core
parentbec34f12757517a784f6e35fc6b7294ab1673c59 (diff)
downloadnextcloud-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.js2
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);
}
});