Fixed Status CORS-Shit
This commit is contained in:
parent
0e814d026e
commit
e12bcc0706
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue