fixed FPD for bot.html

multi-deployment
b3yond 2018-02-17 12:31:49 +01:00
parent 1f01938a8c
commit 52c2d1e341
1 changed files with 2 additions and 0 deletions

View File

@ -128,6 +128,8 @@ def static(filename):
"""
Serve static files
"""
if filename == "bot.html":
bottle.abort(401, "Sorry, access denied.")
return bottle.static_file(filename, root='../static')