16 lines
306 B
Python
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')
|