Skip to content

Commit

Permalink
Merge branch 'main' into cpython-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
michalpokusa authored Feb 1, 2024
2 parents 6944481 + af0a0bd commit fffefe2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/httpserver_cpython.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def base(request: Request):
return Response(request, "Hello from the CircuitPython HTTP Server!")



# Ports below 1024 are reserved for root user only.
# If you want to run this example on a port below 1024, you need to run it as root (or with `sudo`).
server.serve_forever("0.0.0.0", 5000)

0 comments on commit fffefe2

Please sign in to comment.