Compare commits
1 Commits
b006fe77c2
...
fix/bossra
| Author | SHA1 | Date | |
|---|---|---|---|
| 688d4b34df |
@@ -33,7 +33,7 @@ func New() *fiber.App {
|
|||||||
app.Use(middleware.SecurityHeaders)
|
app.Use(middleware.SecurityHeaders)
|
||||||
app.Use(cors.New(cors.Config{
|
app.Use(cors.New(cors.Config{
|
||||||
AllowOrigins: "https://a301.tolelom.xyz",
|
AllowOrigins: "https://a301.tolelom.xyz",
|
||||||
AllowHeaders: "Origin, Content-Type, Authorization, Idempotency-Key, X-API-Key",
|
AllowHeaders: "Origin, Content-Type, Authorization, Idempotency-Key, X-API-Key, X-Requested-With",
|
||||||
AllowMethods: "GET, POST, PUT, PATCH, DELETE",
|
AllowMethods: "GET, POST, PUT, PATCH, DELETE",
|
||||||
AllowCredentials: true,
|
AllowCredentials: true,
|
||||||
}))
|
}))
|
||||||
|
|||||||
Reference in New Issue
Block a user