revoltchat / self-hosted

Deploy Revolt using Docker.
854 stars 108 forks source link

API URL settings being ignored in .env file. #24

Closed Hercules2048 closed 2 years ago

Hercules2048 commented 2 years ago

Description : Changing the URL/port to the API server in the .env file does not seem to do anything. After restarting the host machine and the docker, the changes are not honored and instead revolt wants to connect to the API server at example.com:8000.

This is especially apparent when you attempt to use a HTTPS reverse proxy using caddy or nginx, as you can't really get around this. 2021-12-21 08_23_19-Untitled - Paint 2021-12-21 08_43_29-Untitled - Paint

jim3692 commented 2 years ago

I don't know if it's related, but I just updated Revolt and it tries to login using the official API instead of mine

insertish commented 2 years ago

I think we may have solved this in chat, anyways for anyone else, some common issues include:

I don't know if it's related, but I just updated Revolt and it tries to login using the official API instead of mine

Sounds unrelated, open an issue about it if you have more information.