Fixed Status CORS-Shit

This commit is contained in:
konrad 2017-11-15 16:19:20 +01:00 committed by kolaente
parent 0e814d026e
commit e12bcc0706
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 0 deletions

View File

@ -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)