diff --git a/routes/routes.go b/routes/routes.go index 1b1e4bb..eb99ef7 100644 --- a/routes/routes.go +++ b/routes/routes.go @@ -54,6 +54,8 @@ func RegisterRoutes(e *echo.Echo) { a.OPTIONS("/authors/:id", SetCORSHeader) a.OPTIONS("/publishers", SetCORSHeader) a.OPTIONS("/publishers/:id", SetCORSHeader) + a.OPTIONS("/status", SetCORSHeader) + a.OPTIONS("/status/:id", SetCORSHeader) a.POST("/login", Login)