deployment-ready
This commit is contained in:
6
app.py
6
app.py
@ -10,15 +10,15 @@ app = Flask(__name__)
|
||||
|
||||
@app.route("/")
|
||||
def index():
|
||||
return render_template('index.html', headermessage = 'Header', message='message')
|
||||
return render_template('index.html', headermessage = 'Header', message='DualHub')
|
||||
|
||||
|
||||
@app.route ("/<string:msg>")
|
||||
def make_msg(msg):
|
||||
message = msg
|
||||
return render_template('index.html', message=message, headermessage=message)
|
||||
return render_template('index.html', message="DualHub", headermessage=message)
|
||||
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(host='0.0.0.0', port=1024, debug=True)
|
||||
app.run(host='0.0.0.0', port=2024, debug=True)
|
||||
|
||||
Reference in New Issue
Block a user