This commit is contained in:
[Valentino Heman Budiarto]
2026-06-05 20:13:35 +07:00
parent 16075c670a
commit 2bedb35863
2 changed files with 26 additions and 4 deletions
+2
View File
@@ -70,6 +70,8 @@ func main() {
// PASTIKAN BARIS INI ADA DI SINI:
r.POST("/api/hardware/control", controllers.ControlHardware)
r.GET("/api/hardware/status", controllers.GetHardwareStatus)
r.GET("/api/hardware/power-status", controllers.GetPowerStatus)
r.Run(":8080")