mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 17:32:38 +02:00
12 lines
284 B
Python
12 lines
284 B
Python
import os
|
|
from flask import Flask
|
|
|
|
app = Flask(__name__)
|
|
|
|
@app.route('/')
|
|
def home():
|
|
return "Hello from Render!"
|
|
|
|
if __name__ == '__main__':
|
|
port = int(os.environ.get("PORT", 80)) # Default to port 80 if PORT isn't set
|
|
app.run(host='0.0.0.0', port=port)
|