improved project
Some checks failed
Build and Deploy Demo App / build-and-deploy (push) Failing after 18s
Some checks failed
Build and Deploy Demo App / build-and-deploy (push) Failing after 18s
This commit is contained in:
9
app.py
9
app.py
@@ -1,9 +1,12 @@
|
||||
from flask import Flask
|
||||
from flask import Flask, render_template
|
||||
from flask_bootstrap import Bootstrap5 # Use Bootstrap5 for modern BS5
|
||||
|
||||
app = Flask(__name__)
|
||||
bootstrap = Bootstrap5(app)
|
||||
|
||||
@app.route('/')
|
||||
def hello():
|
||||
return "<h1>Hello from the Realistic Demo App!</h1><p>This is a simple Flask server for demonstration.</p>"
|
||||
def index():
|
||||
return render_template('index.html')
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(host='0.0.0.0', port=5000)
|
||||
|
||||
Reference in New Issue
Block a user