streaming-kamera/kamera_server.py

10 lines
270 B
Python
Raw Normal View History

2021-03-03 14:07:15 +01:00
from flask import Flask
kamera_server = Flask(__name__)
@kamera_server.route("/")
def first_function():
return "<html><body><h1 style='color:red'>I am hosted on Raspberry Pi !!!</h1></body></html>"
if __name__ == "__main__":
kamera_server.run(host='0.0.0.0')