Enable HTTPS

This commit is contained in:
2026-01-04 17:04:35 +01:00
parent e1b7ff9c16
commit a31daabc26
3 changed files with 88 additions and 1 deletions

View File

@@ -70,7 +70,7 @@ if __name__ == "__main__":
sound_reader.start()
print("App started...")
app.run(host="0.0.0.0", port=5000, debug=False)
app.run(host="0.0.0.0", port=5000, debug=False, ssl_context=("./certs/cert.pem", "./certs/key.pem"))
except KeyboardInterrupt:
print("Keyboard interrupt. Stopping app...")