aboutsummaryrefslogtreecommitdiffstats
path: root/core/src/OC/appswebroots.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/OC/appswebroots.js')
-rw-r--r--core/src/OC/appswebroots.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/src/OC/appswebroots.js b/core/src/OC/appswebroots.js
new file mode 100644
index 00000000000..debbd2084bf
--- /dev/null
+++ b/core/src/OC/appswebroots.js
@@ -0,0 +1,8 @@
+/**
+ * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
+const appswebroots = (window._oc_appswebroots !== undefined) ? window._oc_appswebroots : false
+
+export default appswebroots