zhdo.space/app.py
2022-05-13 17:55:48 +08:00

16 lines
306 B
Python

from flask import Flask
from flask.templating import render_template
app = Flask(__name__)
@app.route("/")
def index():
return "<p>Hello, World!</p>"
@app.route("/privacy")
def privacypolicy():
return render_template("privacypolicy.html")
if __name__ == "__main__":
app.run(host='0.0.0.0')