Ask coding questions

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

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 (535) [earned 5 cycles]
View Answer
a5rocks (535)

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.