10 lines
198 B
Python
10 lines
198 B
Python
import os
|
|
|
|
from webapi import create_app
|
|
|
|
app = create_app()
|
|
|
|
if __name__ == "__main__":
|
|
# 5000 is taken by AirPlay on macOS.
|
|
app.run(host="0.0.0.0", port=int(os.environ.get("PORT", 5050)))
|