Enable HTTPS
This commit is contained in:
@@ -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...")
|
||||
|
||||
Reference in New Issue
Block a user