Skip to content

Commit

Permalink
Merge branch 'change-onlyoffice-url' into 'master'
Browse files Browse the repository at this point in the history
chore: change onlyoffice url

See merge request kchat/webapp!924
  • Loading branch information
antonbuks committed Sep 19, 2024
2 parents f2563d5 + 5bce555 commit 90c3677
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webapp/channels/src/components/onlyoffice_preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class OnlyofficePreview extends React.PureComponent<PropsFromRedux> {

this.placeholderId = 'onlyoffice-placeholder';
this.scriptId = 'onlyoffice-script';
this.scriptSrc = 'https://documentserver.kdrive.infomaniak.com/web-apps/apps/api/documents/api.js';
this.scriptSrc = 'https://onlyoffice.infomaniak.com/web-apps/apps/api/documents/api.js';
this.container = React.createRef();
}

Expand Down
2 changes: 1 addition & 1 deletion webapp/channels/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ var config = {
};

function generateCSP() {
let csp = 'script-src \'self\' blob: cdn.rudderlabs.com/ js.stripe.com/v3 web-components.storage.infomaniak.com/ welcome.infomaniak.com/ welcome.preprod.dev.infomaniak.ch/ kmeet.infomaniak.com/ welcome.preprod.dev.infomaniak.ch/ kmeet.preprod.dev.infomaniak.ch/ documentserver.kdrive.infomaniak.com/ ' + CSP_UNSAFE_INLINE + CSP_UNSAFE_EVAL_IF_DEV;
let csp = 'script-src \'self\' blob: cdn.rudderlabs.com/ js.stripe.com/v3 web-components.storage.infomaniak.com/ welcome.infomaniak.com/ welcome.preprod.dev.infomaniak.ch/ kmeet.infomaniak.com/ welcome.preprod.dev.infomaniak.ch/ kmeet.preprod.dev.infomaniak.ch/ onlyoffice.infomaniak.com/ ' + CSP_UNSAFE_INLINE + CSP_UNSAFE_EVAL_IF_DEV;

if (IS_CANARY || IS_PREPROD) {
csp += CSP_WORKER_SRC;
Expand Down

0 comments on commit 90c3677

Please sign in to comment.