Skip to content
Open
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
10 changes: 9 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,15 @@

@app.route("/") # 루트 URL에 대한 라우팅 설정
def hello():
return "Hello, World!" # 브라우저에 출력될 텍스트
return """
<html>
<head><title>Hello</title></head>
<body>
<h1>Welcome to this page.</h1>
<p>This file is from the E-COPS GitHub repository.</p>
</body>
</html>
"""

if __name__ == "__main__":
app.run(debug=True) # 개발 서버 실행 (디버그 모드)