Glimesh / broadcast-box

A broadcast, in a box.
MIT License
688 stars 57 forks source link

Add `DISABLE_FRONTEND` to disable HTML route #141

Closed Sean-Der closed 1 month ago

asdromundo commented 1 month ago

Hello @Sean-Der just trying to figure out some things here. Your htmlEnabled := os.Getenv("DISABLE_FRONTEND") == "" line is just before the code that reads the .env files. Thus, I don't think it is reading the actual variable.

Sean-Der commented 1 month ago

@asdromundo nice catch! fixed, can you try again?

asdromundo commented 1 month ago

@asdromundo nice catch! fixed, can you try again?

@Sean-Der Works great! Great job, ty