Update app.py
This commit is contained in:
parent
9e1d0c5944
commit
a754481068
4
app.py
4
app.py
|
|
@ -48,3 +48,7 @@ def logout():
|
||||||
@app.route("/robots.txt")
|
@app.route("/robots.txt")
|
||||||
def robots():
|
def robots():
|
||||||
return "User-agent: *\nDisallow: /\n", 200, {"Content-Type": "text/plain"}
|
return "User-agent: *\nDisallow: /\n", 200, {"Content-Type": "text/plain"}
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
app.run(host="0.0.0.0", port=8080)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue