adding cors https
This commit is contained in:
parent
415df97431
commit
43ea9dbc88
|
|
@ -22,6 +22,7 @@ func CORSMiddleware() gin.HandlerFunc {
|
||||||
"http://103.110.8.103",
|
"http://103.110.8.103",
|
||||||
"http://nam.winteraccess.id",
|
"http://nam.winteraccess.id",
|
||||||
"https://nam.winteraccess.id",
|
"https://nam.winteraccess.id",
|
||||||
|
"https://nam-dev.winteraccess.id",
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check if origin is in allowed list
|
// Check if origin is in allowed list
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue