Switch to Python Flask app for testing

This commit is contained in:
2026-05-14 21:28:00 +03:00
parent 5b05abe654
commit 70a8e4e17e
4 changed files with 13 additions and 28 deletions

12
app.py Normal file
View File

@@ -0,0 +1,12 @@
from flask import Flask
import os
app = Flask(__name__)
@app.route('/')
def hello():
return "Hello from Python Flask app deployed via your platform!"
if __name__ == '__main__':
port = int(os.environ.get('PORT', 8080))
app.run(host='0.0.0.0', port=port)