Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

Commit

Permalink
Default route returns a valid answer
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoine Pultier committed Jun 7, 2018
1 parent e598633 commit df488f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ def login():
def auth_verify_password(username, password):
return passwd.check_password(username, password)

@app.route('/')
def index():
return ('', 204)

@app.route('/<user>/<repo>/<tag>/<asset_name>')
@auth.login_required
def release(user, repo, tag, asset_name):
Expand Down

0 comments on commit df488f1

Please sign in to comment.