aboutsummaryrefslogtreecommitdiffstats
path: root/settings/src
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-10-01 07:58:12 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-10-02 17:26:08 +0200
commit834f3df19aa3d89206003da3467b467bb7092ebe (patch)
tree1f035a3d8fd7f8f78e0d5f8c828a3f27130e98e1 /settings/src
parentb7d82e9262dca73f05d100fb77ccdea349807c1e (diff)
downloadnextcloud-server-834f3df19aa3d89206003da3467b467bb7092ebe.tar.gz
nextcloud-server-834f3df19aa3d89206003da3467b467bb7092ebe.zip
Fix generateUrl for webpack
OC.generateUrl(OC.linkTo('contacts', 'js/')) will append index.php, we should not have that! Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings/src')
-rw-r--r--settings/src/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/src/main.js b/settings/src/main.js
index ef27162942e..c24eee87628 100644
--- a/settings/src/main.js
+++ b/settings/src/main.js
@@ -37,7 +37,7 @@ __webpack_nonce__ = btoa(OC.requestToken)
// OC.linkTo matches the apps folders
// OC.generateUrl ensure the index.php (or not)
// eslint-disable-next-line
-__webpack_public_path__ = OC.generateUrl(OC.linkTo('settings', 'js/'))
+__webpack_public_path__ = OC.linkTo('settings', 'js/')
// bind to window
Vue.prototype.t = t;