diff options
author | Muhammet Kara <muhammet.kara@collabora.com> | 2020-05-22 00:34:46 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2020-05-22 15:12:59 +0300 |
commit | be7cb4c48493e5e8747f4243c567ff78d478f1e4 (patch) | |
tree | 661b81670156f24423ac64f8d165247d25dde6ba /src | |
parent | be8178c967e8ee0a4d2b5d08d068e59532deb121 (diff) |
Fix the wopi URL for built-in CODE server
Co-authored-by: Michael Meeks <michael.meeks@collabora.com>
Signed-off-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/AdminSettings.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/AdminSettings.vue b/src/components/AdminSettings.vue index 9aa3f207..fbbfbbf3 100644 --- a/src/components/AdminSettings.vue +++ b/src/components/AdminSettings.vue @@ -429,7 +429,7 @@ export default { }, checkIfDemoServerIsActive() { this.settings.demoUrl = this.demoServers ? this.demoServers.find((server) => server.demo_url === this.settings.wopi_url) : null - this.settings.CODEUrl = this.CODEInstalled ? window.location.protocol + '//' + window.location.host + OC.generateUrl('/apps/richdocumentscode/proxy.php?req=') : null + this.settings.CODEUrl = this.CODEInstalled ? window.location.protocol + '//' + window.location.host + OC.filePath('richdocumentscode', '', '') + 'proxy.php?req=' : null if (this.settings.wopi_url && this.settings.wopi_url !== '') { this.serverMode = 'custom' } |