fix: fix GetUserTitleByID
This commit is contained in:
parent
3f0456ba01
commit
37cdc32d5d
4 changed files with 8 additions and 105 deletions
|
|
@ -48,7 +48,7 @@ func main() {
|
|||
|
||||
r.Use(cors.New(cors.Config{
|
||||
AllowOrigins: []string{"*"}, // allow all origins, change to specific domains in production
|
||||
AllowMethods: []string{"GET", "POST", "PUT", "DELETE"},
|
||||
AllowMethods: []string{"GET", "POST", "PUT", "DELETE", "PATCH"},
|
||||
AllowHeaders: []string{"Origin", "Content-Type", "Accept"},
|
||||
ExposeHeaders: []string{"Content-Length"},
|
||||
AllowCredentials: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue