mirror of
https://github.com/sergi0g/cup.git
synced 2025-11-08 05:03:49 -05:00
docs: update homepage widget example
Remove usage of non-default port 9000 and change server ip placeholder to hostname instead
This commit is contained in:
@@ -51,7 +51,7 @@ Credit: [@agrmohit](https://github.com/agrmohit)
|
||||
```yaml
|
||||
widget:
|
||||
type: customapi
|
||||
url: http://<SERVER_IP>:9000/api/v3/json
|
||||
url: http://<SERVER_HOSTNAME>/api/v3/json
|
||||
refreshInterval: 10000
|
||||
method: GET
|
||||
mappings:
|
||||
@@ -74,6 +74,5 @@ widget:
|
||||
```
|
||||
|
||||
Preview:
|
||||
|
||||
<Image src={widget2} />
|
||||
Credit: [@remussamoila](https://github.com/remussamoila)
|
||||
|
||||
Reference in New Issue
Block a user