UPDATE: ignore patterns
All checks were successful
Build and Release / release (push) Successful in 1m33s
All checks were successful
Build and Release / release (push) Successful in 1m33s
This commit is contained in:
@@ -73,9 +73,11 @@ func (s *FiberServer) SetupServer(
|
||||
"http://localhost:3001",
|
||||
"https://history-admin.kain.id.vn",
|
||||
"https://history-user.kain.id.vn",
|
||||
"https://www.history-admin.kain.id.vn",
|
||||
"https://www.history-user.kain.id.vn",
|
||||
},
|
||||
AllowMethods: []string{"GET", "POST", "PUT", "DELETE", "OPTIONS", "PATCH"},
|
||||
AllowHeaders: []string{"Accept", "Authorization", "Content-Type", "Origin"},
|
||||
AllowMethods: []string{"GET", "POST", "PUT", "DELETE", "OPTIONS", "PATCH", "HEAD"},
|
||||
AllowHeaders: []string{"Accept", "Authorization", "Content-Type", "Origin", "Range", "Cache-Control", "Pragma", "If-Modified-Since", "If-None-Match"},
|
||||
AllowCredentials: true,
|
||||
}))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user