17 lines
320 B
Python
17 lines
320 B
Python
# server/wsgi.py
|
||
|
||
from flask import Flask, jsonify
|
||
|
||
app = Flask(__name__)
|
||
|
||
@app.route("/health")
|
||
def health():
|
||
return jsonify(status="ok")
|
||
|
||
# Optional: Test-Route
|
||
@app.route("/")
|
||
def index():
|
||
return "Hello from Infoscreen‐API!"
|
||
|
||
# (Weitere Endpunkte, Blueprints, Datenbank-Initialisierung usw. kommen hierher)
|