.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user