fixed FPD for bot.html

master
b3yond 2018-02-17 12:31:49 +01:00
parent ab9aa1070c
commit 4ff86b2510
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')