diff --git a/routes/routes.go b/routes/routes.go index 9ffc758..cbb32dd 100644 --- a/routes/routes.go +++ b/routes/routes.go @@ -58,6 +58,9 @@ func RegisterRoutes(e *echo.Echo) { a.OPTIONS("/status/:id", SetCORSHeader) a.OPTIONS("/items", SetCORSHeader) a.OPTIONS("/items/:id", SetCORSHeader) + a.OPTIONS("/logs", SetCORSHeader) + a.OPTIONS("/users", SetCORSHeader) + a.OPTIONS("/users/:id", SetCORSHeader) a.POST("/login", Login)