Skip to content

Conversation

jvhoffbauer
Copy link

Description

When Doccano is hosted behind a reverse proxy, the doccano backend's hostname is something like doccano thus the URLs it generates start with http://doccano:8080. This causes issues when downloading examples using pagination. The next URL will start with the hostname the backend sees.

In case the client cannot retrieve the given URL, it should try using the base_url that it was initialized with.

@jvhoffbauer jvhoffbauer requested a review from Hironsan as a code owner May 25, 2024 14:20
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

Successfully merging this pull request may close these issues.

1 participant