Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 616 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 616 Bytes

Frontend

AutoDirect web-based user interface. Hosted with GitHub Pages: https://autodirect.tech/

Starting a local web server with Python

Serving the frontend via an HTTP server allows for API queries to be sent without raising CORS issues in the browser.

One way to serve the frontend locally is to use Python3's built-in http.server module.

sudo python3 -m http.server 80 --bind 0.0.0.0

Note that the Python HTTP server is not suited for production use and should only be used for local testing purposes.

Currently, it assumes that the Backend API server is running at http://localhost:8080