Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
app = Flask(__name__)

@app.route("/")
def index():
return render_template('./index.html')
def hello():
return 'Hello, Flask!'
4 changes: 2 additions & 2 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div>
<h1 class="text-5xl font-bold">Flask</h1>
<p class="py-6">클라우드타입에서 배포한 Flask 어플리케이션입니다.</p>
<button type="button" onclick="window.open('https://github.com/cloudtype-examples/java-springboot')" class="btn btn-outline rounded">
<button type="button" onclick="window.open('https://github.com/cloudtype-examples/flask')" class="btn btn-outline rounded">
GitHub
</button>
<button type="button" onclick="window.open('https://docs.cloudtype.io/')" class="btn btn-outline rounded">
Expand All @@ -29,4 +29,4 @@ <h1 class="text-5xl font-bold">Flask</h1>
</div>
</div>
</body>
</html>
</html>