Fix introduce bug on add temperature.
This commit is contained in:
parent
f4ed7afc59
commit
87891cfd0d
|
|
@ -21,7 +21,7 @@ var (
|
|||
*/
|
||||
RootRoute = "/"
|
||||
|
||||
AddTempRoute = "/add/temp/" + sensorMacRegex + "/:val(-+[0-9]+)"
|
||||
AddTempRoute = "/add/temp/" + sensorMacRegex + "/:val([-]{0,1}[0-9]+)"
|
||||
AddRelayRoute = "/add/relay/" + sensorMacRegex
|
||||
TeleinfoAddRoute = "/teleinfo/add"
|
||||
AddSoilMoistRoute = "/add/soil" /* Route for soil moisture sensors*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue