Skip to content

Commit

Permalink
Adds Server header
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin LOCATI committed Nov 24, 2017
1 parent 228509f commit 60bd361
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions server/ares.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
manager = Manager(app)


@app.after_request
def headers(response):
response.headers["Server"] = "Ares"
return response


@manager.command
def initdb():
db.drop_all()
Expand Down

0 comments on commit 60bd361

Please sign in to comment.