Skip to content

Conversation

@juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Apr 12, 2024

Fix #3579

Some URLs were not respecting the wopi_callback_url setting that we have in place now to configure the URL that Collabora will use to talk to Nextcloud, so this PR adapts those.


const getWopiSrc = (fileId) => {
// WOPISrc - URL that loolwsd will access (ie. pointing to ownCloud)
// WOPISrc - URL that Collabora will use to access Nextcloud
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@blizzz Sneaked this in from your comment in #3575 😁

Copy link
Member

@blizzz blizzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: URL generation can be put in an new short method, so the next time it needs just only one adjustment. Not a blocker.

@juliusknorr juliusknorr force-pushed the fix/wopi-callback-url branch 2 times, most recently from 40fad16 to 2f82662 Compare April 12, 2024 07:25
@juliusknorr
Copy link
Member Author

Cypress failure seems related, will check

@juliusknorr juliusknorr force-pushed the fix/wopi-callback-url branch from 2f82662 to 2cc2536 Compare April 12, 2024 07:54
@juliusknorr juliusknorr merged commit 1c0dee5 into main Apr 12, 2024
@juliusknorr juliusknorr deleted the fix/wopi-callback-url branch April 12, 2024 08:23
@juliusknorr
Copy link
Member Author

/backport to stable29

@juliusknorr
Copy link
Member Author

/backport to stable28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Ready to be reviewed bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong protocol for TemplateSource URL when using nextcloud behind a proxy

3 participants