Commit Graph

3 Commits

Author SHA1 Message Date
Andrea Arturo Venti Fuentes
c107ac55ea Fix incorrect ip argument in app.run()
Replaced `ip="0.0.0.0"` with `host="0.0.0.0"` in `main.py` to fix a TypeError during Flask startup.

This change ensures compatibility with Flask's app.run() parameters and allows the app to bind to all interfaces as expected in production environments like Dokploy.

```
Traceback (most recent call last):
File "/app/main.py", line 12, in <module>
app.run(debug=False, ip="0.0.0.0", port=5000)
File "/opt/venv/lib/python3.12/site-packages/flask/app.py", line 625, in run
* Serving Flask app 'main'
* Debug mode: off
run_simple(t.cast(str, host), port, self, **options)
TypeError: run_simple() got an unexpected keyword argument 'ip'
```
2025-06-04 17:36:51 -04:00
Mr1Blaze
3d55239415 Added: requirements.txt 2024-06-29 17:48:07 +03:00
Mr1Blaze
c68c194c8c Created Flask Example application for dokploy and added README.MD 2024-06-29 17:44:50 +03:00