mirror of
https://github.com/sergi0g/cup.git
synced 2025-11-11 06:33: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
|
```yaml
|
||||||
widget:
|
widget:
|
||||||
type: customapi
|
type: customapi
|
||||||
url: http://<SERVER_IP>:9000/api/v3/json
|
url: http://<SERVER_HOSTNAME>/api/v3/json
|
||||||
refreshInterval: 10000
|
refreshInterval: 10000
|
||||||
method: GET
|
method: GET
|
||||||
mappings:
|
mappings:
|
||||||
@@ -74,6 +74,5 @@ widget:
|
|||||||
```
|
```
|
||||||
|
|
||||||
Preview:
|
Preview:
|
||||||
|
|
||||||
<Image src={widget2} />
|
<Image src={widget2} />
|
||||||
Credit: [@remussamoila](https://github.com/remussamoila)
|
Credit: [@remussamoila](https://github.com/remussamoila)
|
||||||
|
|||||||
Reference in New Issue
Block a user