Ask coding questions

← Back to all posts
.env problems
bossotron13 (15)

So i released a DB for other people to use but kept my password safe but then people can’t access the .env file through os.getenv(‘DB_PASS’) any f1x

Answered by a5rocks (507) [earned 5 cycles]
View Answer
Commentshotnewtop
a5rocks (507)

Make a proxy server that you start. Then just do requests.get('https://server_url/get?key=key') in python, or whatever.

If others can start the repl and get .env files, it would ruin the whole purpose.