generated from playground/template-python
Initial commit
This commit is contained in:
14
main.py
Normal file
14
main.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# 내 앱의 시작점입니다. Claude Code에게 "이 앱을 ~하게 바꿔줘"라고 요청하세요.
|
||||
# 규칙: 반드시 0.0.0.0:8080 에서 HTTP 서비스해야 합니다 (배포 규격).
|
||||
from flask import Flask
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
|
||||
@app.route("/")
|
||||
def home():
|
||||
return "<h1>안녕하세요! 나의 첫 Playground 앱입니다 🎉</h1>"
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(host="0.0.0.0", port=8080)
|
||||
Reference in New Issue
Block a user