GoCorona-org / Backend

GNU General Public License v3.0
0 stars 2 forks source link

Flask endpoint #24

Closed codeJRV closed 4 years ago

codeJRV commented 4 years ago

Sample middleware in case needed to unblock apps team

wadkar commented 4 years ago

Thanks for committing credentials to Github. I have changed the admin username and password to something that's not committed to Github and not guessable either.

Please use environment to pick up the values for server, username, and password. The defaults can be localhost:8000, admin, password. For example: server = os.getenv('UPSTREAM_SERVER', 'localhost:8000')