Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https mattermost with context and http onlyoffice integration issues #60

Open
wensimin opened this issue Mar 8, 2024 · 0 comments
Open

Comments

@wensimin
Copy link

wensimin commented Mar 8, 2024

Hello, I have an address where mattermost runs on https and has context. The path is similar to the following.
https://mydomain/mattermost/
When I click open file in ONLYOFFICE , the request is
https://mydomain/plugins/com.onlyoffice.mattermost/api/editor?file=filekey
So a 404 error occurred
Since I couldn't find a place to modify the context, and the mattermost siteurl didn't work here, I modified the hard coding.
export const ONLYOFFICE_PLUGIN_API = `/mattermost/plugins/${pluginName}/api`;
The request worked, but since my onlyoffice is on http, a mixed-content error occurred.
http://onlyoffice-domain/web-apps/apps/api/documents/api.js
Is there anything you can help me with, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant