This commit is contained in:
2024-02-26 20:23:04 +08:00
parent 342efb8562
commit 5367038e59
4 changed files with 51 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
def index():
return render_template('index.html')
@app.route('/about')
def about():
name = 'Guan'
return render_template('about.html', name=name)
if __name__ == '__main__':
app.run(debug=True)