revoltchat / frontend

Monorepo for Revolt's frontend.
https://revolt.chat
GNU Affero General Public License v3.0
150 stars 46 forks source link

Env Variable Support #302

Open Rushmore75 opened 1 month ago

Rushmore75 commented 1 month ago

Add support for more environment variables in a similar fashion to how to old system works. https://github.com/revoltchat/self-hosted/pull/90 Is related, it shows the .env config already.

(The fact that my branch is called docker is because it was going to be to dockerize this, then I realized that the self-host stack already has Caddy in it so that can be used to host the dist folder)

insertish commented 1 month ago

I'm not sure what's going on with this and #301, but there's a lot of unrelated changes strewn about. You may want to re-create your PRs to only modify what you're intending to modify.

Rushmore75 commented 1 month ago

It's pretty much just changing the environment variables to more specific ones, instead of using one env variable for the whole project for url

Then updating the Readme so it reflects the changes + removing parts of the Readme where it references repos that no longer exist

Also fixing a file name for an svg that no longer exists

Also fixing the package.json to have a command to build for pro