mirror of
https://gitlab1.ptb.de/waltem01/Matrix
synced 2024-12-26 03:51:45 +00:00
improved API warning
This commit is contained in:
parent
159255836f
commit
30f16e0a63
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
REST API to access the Raspberry PI RGB LED Matrix over HTTP.
|
REST API to access the Raspberry PI RGB LED Matrix over HTTP.
|
||||||
|
|
||||||
|
**Note:** This webserver should _never_ be exposed to the outside of the system it's running on, since it's meant to be combined with the provided `SvelteKit` webserver to serve a GUI. Although it can still be run in standalone, please make sure you set up a firewall or other kinds of access rules to **forbid any connections** from outside of this machine (localhost).
|
||||||
|
|
||||||
## How to run
|
## How to run
|
||||||
|
|
||||||
**Note:** Once run, you should not simply kill the process. Graceful shutdown is work-in-progress.
|
**Note:** Once run, you should not simply kill the process. Graceful shutdown is work-in-progress.
|
||||||
@ -47,8 +49,6 @@ REST API to access the Raspberry PI RGB LED Matrix over HTTP.
|
|||||||
|
|
||||||
The script will host a `waitress` webserver on port `8080` of the machine it's running on.
|
The script will host a `waitress` webserver on port `8080` of the machine it's running on.
|
||||||
|
|
||||||
**Note:** This webserver should _never_ be exposed to the outside of the system it's running on, since it's meant to be combined with the provided `SvelteKit` webserver to serve a GUI. For this reason, please make sure you set up a firewall or other kinds of access rules to **forbid any connections** from outside of this machine (localhost).
|
|
||||||
|
|
||||||
### GET Endpoints
|
### GET Endpoints
|
||||||
|
|
||||||
- `/clear`: Clear the buffered canvas
|
- `/clear`: Clear the buffered canvas
|
||||||
|
Loading…
Reference in New Issue
Block a user