added /malformed-response.html route
This commit is contained in:
parent
c7c0430699
commit
bcdd09c768
1 changed files with 4 additions and 0 deletions
|
|
@ -225,6 +225,10 @@ def send_static(path):
|
||||||
def send_favicon():
|
def send_favicon():
|
||||||
return send_from_directory(STATIC, 'favicon.ico')
|
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("/")
|
||||||
@app.route("/<string:location>")
|
@app.route("/<string:location>")
|
||||||
def wttr(location = None):
|
def wttr(location = None):
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue