odysseusmax / tg-index

Python web app to index telegram chats and serve its files for download over HTTP.
GNU General Public License v3.0
385 stars 469 forks source link

USERNAME is a internal env variable in windows #28

Closed rayanfer32 closed 3 years ago

rayanfer32 commented 3 years ago

USERNAME cannot be used in .env to set USERNAME for authentication in the tg-index ... the system picks the system username by default.

viper-adnan commented 3 years ago

Change the USERNAME to USER or something here... https://github.com/odysseusmax/tg-index/blob/504a1785d12771004a05165d2d4be2fc81c6f8bc/app/config.py#L49