diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-14 12:54:22 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-14 12:54:22 +0100 |
commit | 9bde32fcee808eb5be130449d440a2608de3df16 (patch) | |
tree | 83e6017d8840d4ffd41f3355c600c7539fad0598 | |
parent | 028d6f50d354b30a62da194de307ac50c67185c3 (diff) |
Fix custom app support
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r-- | src/router/index.js | 4 |
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: [ { |