added /malformed-response.html route

This commit is contained in:
Igor Chubin 2018-10-03 19:11:58 +02:00
parent c7c0430699
commit bcdd09c768

View file

@ -225,6 +225,10 @@ def send_static(path):
def send_favicon():
return send_from_directory(STATIC, 'favicon.ico')
@app.route('/malformed-response.html')
def send_malformed():
return send_from_directory(STATIC, 'malformed-response.html')
@app.route("/")
@app.route("/<string:location>")
def wttr(location = None):