summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-11-14 12:54:22 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-11-14 12:54:22 +0100
commit9bde32fcee808eb5be130449d440a2608de3df16 (patch)
tree83e6017d8840d4ffd41f3355c600c7539fad0598
parent028d6f50d354b30a62da194de307ac50c67185c3 (diff)
Fix custom app support
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r--src/router/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/router/index.js b/src/router/index.js
index 574407b0..b8a92b0a 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -22,7 +22,7 @@
import Vue from 'vue'
import Router from 'vue-router'
-import { generateFilePath } from 'nextcloud-server/dist/router'
+import { generateUrl } from 'nextcloud-server/dist/router'
import Contacts from 'Views/Contacts'
Vue.use(Router)
@@ -31,7 +31,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: generateFilePath('contacts', '', ''),
+ base: generateUrl('/apps/contacts', ''),
linkActiveClass: 'active',
routes: [
{