WeblateOrg / weblate

Web based localization tool with tight version control integration.
https://weblate.org/
GNU General Public License v3.0
4.54k stars 1.01k forks source link

When using API and try to go to next component, next button redirects to weblate:8000 #1292

Closed hbto closed 7 years ago

hbto commented 7 years ago

https://FQAN/api/components/

https://weblate.vauxoo.com/api/components/

If there are more buttons

We have set the correct name according to https://docs.weblate.org/en/latest/admin/install.html#set-correct-site-name

and allowed_host according to documenation for docker and settings.py

https://hub.docker.com/r/nijel/weblate        - WEBLATE_ALLOWED_HOSTS=your hosts settings.py  ALLOWED_HOST=[ ] (default)

Having all that said

when we try to reach the second page we are redirected to

http://weblate:8000/api/components/?page=2

https://lh3.googleusercontent.com/-Rh-Y3fskGjc/WEN_V2EJpvI/AAAAAAAAEb4/-9pXU2soGW8HHOFeF2XcwV1p1lEqupY6gCL0B/h1352/2016-12-03.png

Is there something else that we are overlooking.

Regards.

nijel commented 7 years ago

Indeed the Docker image is broken in this. I've tried to fix this in WeblateOrg/docker@0cc8545, can you please try if that helps?

hbto commented 7 years ago

Thanks a lot, @nijel

We will check and let you know our findings.

Best Regards

hbto commented 7 years ago

@moylop260 & @ruiztulio Be aware.

Regards

hbto commented 7 years ago

Thanks a Lot @nijel It is working like expected. I will be closing the Issue as It was solved with WeblateOrg/docker@0cc8545 Best Regards.