refactor: app.py host & port 수정

This commit is contained in:
OhSeongRak 2025-06-14 23:22:02 +09:00
parent acc2a3ff90
commit 03c14f0faa

View File

@ -298,4 +298,7 @@ def create_app():
if __name__ == '__main__':
app = create_app()
app.run(host='0.0.0.0', port=5001, debug=True)
host = os.getenv('SERVER_HOST', '0.0.0.0')
port = int(os.getenv('SERVER_PORT', '5001'))
app.run(host=host, port=port, debug=True)