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

Image annotation does not work when deployed behind proxy #2327

Open
janostik opened this issue Feb 23, 2024 · 0 comments
Open

Image annotation does not work when deployed behind proxy #2327

janostik opened this issue Feb 23, 2024 · 0 comments

Comments

@janostik
Copy link

How to reproduce the behaviour

UI is running on URL: https://my-domain.doccano.com/

Images are not loaded as seen on screenshot below
image

The reason is that the URL of the image returned is internal URL of the backend and not url starting with https://my-domain.doccano.com/
image

There isn't any mention of a env variable which can be set, to instruct the backend on which domain the app is being deployed on. I would expect to be able to setup some environemnt variable such as API_URL or DOMAIN_URL where I would specify: https://my-domain.doccano.com/

Your Environment

  • How did you install doccano (Heroku button etc): Deployed on kubernetes. UI is exposed behind gateway.
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