10 lines
270 B
Python
10 lines
270 B
Python
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')
|
|
|