diff --git a/src/helpers/url.js b/src/helpers/url.js index 40b77cfaa8..2fdde13a57 100644 --- a/src/helpers/url.js +++ b/src/helpers/url.js @@ -82,7 +82,7 @@ const getDocumentUrlForFile = (fileDir, fileId) => { } export const getConfigFileUrl = () => { - return getCallbackBaseUrl() + generateUrl('apps/richdocuments/wopi/settings') + return window.location.protocol + '//' + window.location.host + generateUrl('apps/richdocuments/wopi/settings') } const getNextcloudUrl = () => {