Skip to content
This repository has been archived by the owner on Jun 3, 2022. It is now read-only.

Commit

Permalink
Removed the envtest to avoid exposure
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklex21 committed Jul 23, 2020
1 parent 2b116a0 commit 9019d8a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/main/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,3 @@ def profile():
return redirect(url_for("admin.profile"))
else:
return redirect(url_for("main.index"))


@main.route('/envtest')
def envtest():
return os.getenv('MONGO_CONNECTION_STRING') or "Envvars not loaded!"

0 comments on commit 9019d8a

Please sign in to comment.