fixed FPD for bot.html
This commit is contained in:
parent
1f01938a8c
commit
52c2d1e341
|
@ -128,6 +128,8 @@ def static(filename):
|
||||||
"""
|
"""
|
||||||
Serve static files
|
Serve static files
|
||||||
"""
|
"""
|
||||||
|
if filename == "bot.html":
|
||||||
|
bottle.abort(401, "Sorry, access denied.")
|
||||||
return bottle.static_file(filename, root='../static')
|
return bottle.static_file(filename, root='../static')
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue