Skip to content

Commit

Permalink
why was this not in config?
Browse files Browse the repository at this point in the history
  • Loading branch information
HoodieRocks committed Nov 5, 2023
1 parent 5208379 commit 4791ec7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added bfg-1.14.0.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion routes/projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ def remove(id):
@projects.route("/id/<int:id>/download", methods=["POST"])
def download(id):
tok = request.headers.get("Authorization")
if tok != "ThisIsVeryLegitComeFromCDNNotSpoofedBroTrustMe12":
if tok != config.FILE_SERVER_TOKEN:
return "This is a private route!", 403

conn = util.make_connection()
Expand Down

0 comments on commit 4791ec7

Please sign in to comment.