initial commit
This commit is contained in:
16
server/wsgi.py
Normal file
16
server/wsgi.py
Normal file
@@ -0,0 +1,16 @@
|
||||
# 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)
|
||||
Reference in New Issue
Block a user