Fix Url API Route
This commit is contained in:
@@ -59,6 +59,7 @@ const corsConfig = {
|
|||||||
"http://localhost:3001",
|
"http://localhost:3001",
|
||||||
"https://cld-dkr-desa-darmasaba-stg.wibudev.com",
|
"https://cld-dkr-desa-darmasaba-stg.wibudev.com",
|
||||||
"https://cld-dkr-staging-desa-darmasaba.wibudev.com",
|
"https://cld-dkr-staging-desa-darmasaba.wibudev.com",
|
||||||
|
"https://desa-darmasaba-stg.wibudev.com"
|
||||||
],
|
],
|
||||||
methods: ["GET", "POST", "PATCH", "DELETE", "PUT", "OPTIONS"] as HTTPMethod[],
|
methods: ["GET", "POST", "PATCH", "DELETE", "PUT", "OPTIONS"] as HTTPMethod[],
|
||||||
allowedHeaders: ["Content-Type", "Authorization", "Accept"],
|
allowedHeaders: ["Content-Type", "Authorization", "Accept"],
|
||||||
|
|||||||
@@ -52,6 +52,7 @@ const corsConfig = {
|
|||||||
"http://localhost:3001",
|
"http://localhost:3001",
|
||||||
"https://cld-dkr-desa-darmasaba-stg.wibudev.com",
|
"https://cld-dkr-desa-darmasaba-stg.wibudev.com",
|
||||||
"https://cld-dkr-staging-desa-darmasaba.wibudev.com",
|
"https://cld-dkr-staging-desa-darmasaba.wibudev.com",
|
||||||
|
"https://desa-darmasaba-stg.wibudev.com",
|
||||||
],
|
],
|
||||||
methods: ["GET", "POST", "PATCH", "DELETE", "PUT", "OPTIONS"] as HTTPMethod[],
|
methods: ["GET", "POST", "PATCH", "DELETE", "PUT", "OPTIONS"] as HTTPMethod[],
|
||||||
allowedHeaders: ["Content-Type", "Authorization", "Accept", "*"],
|
allowedHeaders: ["Content-Type", "Authorization", "Accept", "*"],
|
||||||
|
|||||||
Reference in New Issue
Block a user