summaryrefslogtreecommitdiffstats
path: root/settings/src/main.js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-11-05 16:02:32 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-01-25 12:34:46 +0100
commit9405ff3bbf3647137241b2639fe2c7da8d42311a (patch)
tree7dd6729de74bc6f4fafed09cbae9d5771cfc9393 /settings/src/main.js
parent3c6d3ae5e0fa6df4062edcda8c5eed399f47356a (diff)
downloadnextcloud-server-9405ff3bbf3647137241b2639fe2c7da8d42311a.tar.gz
nextcloud-server-9405ff3bbf3647137241b2639fe2c7da8d42311a.zip
Fix vue settings checks and filenames
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings/src/main.js')
-rw-r--r--settings/src/main.js54
1 files changed, 0 insertions, 54 deletions
diff --git a/settings/src/main.js b/settings/src/main.js
deleted file mode 100644
index 587451069e8..00000000000
--- a/settings/src/main.js
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
- *
- * @author John Molakvoæ <skjnldsv@protonmail.com>
- *
- * @license GNU AGPL version 3 or any later version
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-
-import Vue from 'vue';
-import { sync } from 'vuex-router-sync';
-import App from './App.vue';
-import router from './router';
-import store from './store';
-
-sync(store, router);
-
-// CSP config for webpack dynamic chunk loading
-// eslint-disable-next-line
-__webpack_nonce__ = btoa(OC.requestToken)
-
-// Correct the root of the app for chunk loading
-// OC.linkTo matches the apps folders
-// OC.generateUrl ensure the index.php (or not)
-// eslint-disable-next-line
-__webpack_public_path__ = OC.linkTo('settings', 'js/')
-
-// bind to window
-Vue.prototype.t = t;
-Vue.prototype.OC = OC;
-Vue.prototype.OCA = OCA;
-Vue.prototype.oc_userconfig = oc_userconfig;
-Vue.prototype.oc_current_user = oc_current_user;
-
-const app = new Vue({
- router,
- store,
- render: h => h(App)
-}).$mount('#content');
-
-export { app, router, store }; \ No newline at end of file