summaryrefslogtreecommitdiffstats
path: root/src/router
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-09-07 15:54:34 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-09-07 15:54:34 +0200
commit1d1b7a099e15c3ae9793447c41ae2998e4e49930 (patch)
tree840dd292d80f96b95a925aa1a8f16bbcf212ad3d /src/router
parentfe39950e380cf42fb9f0d2516da3ae3d0493068e (diff)
Root detection fixes and locale loading fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'src/router')
-rw-r--r--src/router/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/router/index.js b/src/router/index.js
index 78ef278f..3da4ac96 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -30,7 +30,7 @@ export default new Router({
mode: 'history',
// if index.php is in the url AND we got this far, then it's working:
// let's keep using index.php in the url
- base: OC.generateUrl('/apps/contacts/'),
+ base: OC.generateUrl(OC.linkTo('contacts', '')),
linkActiveClass: 'active',
routes: [
{