forked from 4linux/DevOpsLab-HelloWorld
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.py
More file actions
30 lines (22 loc) · 660 Bytes
/
app.py
File metadata and controls
30 lines (22 loc) · 660 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
from flask import Flask, render_template
app = Flask(__name__)
# @app.route("/") #rota para o index
# def index():
# return render_template('index.html')
@app.route("/index.html") #rota para o index
def index2():
return render_template('index.html')
@app.route("/explorar.html")
def explorar():
return render_template('explorar.html')
@app.route("/contato.html")
def contato():
return render_template('contato.html')
@app.route("/github.html")
def github():
return render_template('github.html')
@app.route("/roadmap.html")
def roadmap():
return render_template('roadmap.html')
if __name__ == '__main__':
app.run(debug=True)