Upstream sync

This commit is contained in:
Senad Uka
2023-09-19 05:09:33 +02:00
parent dc728c4183
commit 0a450eae56
5 changed files with 52 additions and 30 deletions

View File

@@ -18,6 +18,6 @@ func RegisterProtectedRoutes(r *gin.Engine) {
authGroup.Use(middlewares.AuthHandler("admin"))
{
authGroup.GET("/getmessage", controllers.GetSecretText)
authGroup.GET("/getmessage",controllers.GetSecretText)
}
}

View File

@@ -9,5 +9,5 @@ import (
func RegisterPublicRoutes(r *gin.Engine) {
r.GET("/publicmessage", controllers.GetPublicText)
r.POST("/device_info", controllers.SaveDeviceInfofunc)
r.POST("/device_info", controllers.SaveDeviceInfo)
}