deployment-ready
This commit is contained in:
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
__pycache__/
|
||||
ENV/
|
||||
set/
|
||||
VIRTUAL_ENV/
|
||||
|
||||
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)
|
||||
|
||||
1
dualhub_flask.pid
Normal file
1
dualhub_flask.pid
Normal file
@ -0,0 +1 @@
|
||||
25454
|
||||
Reference in New Issue
Block a user