Browse Source

fix mill

beelzebub 0.2.4
Gisle Aune 2 weeks ago
parent
commit
511ef97616
  1. 4
      services/mill/wifi.go

4
services/mill/wifi.go

@ -112,7 +112,7 @@ func (w *WifiBridge) getTemperature() (float64, error) {
req, err := http.NewRequest(
"GET",
"http://%s/set-temperature",
fmt.Sprintf("http://%s/set-temperature", w.IP),
bytes.NewReader(body),
)
if err != nil {
@ -144,7 +144,7 @@ func (w *WifiBridge) writeTemperature() error {
req, err := http.NewRequest(
"POST",
"http://%s/set-temperature",
fmt.Sprintf("http://%s/set-temperature", w.IP),
bytes.NewReader(body),
)
if err != nil {

Loading…
Cancel
Save