Updated gateway cors
This commit is contained in:
@@ -45,6 +45,23 @@ spring:
|
||||
redis-rate-limiter.replenishRate: 10
|
||||
redis-rate-limiter.burstCapacity: 20
|
||||
key-resolver: "#{@userKeyResolver}"
|
||||
globalcors:
|
||||
cors-configurations:
|
||||
'[/**]':
|
||||
allowedOrigins:
|
||||
- "http://localhost:3000"
|
||||
- "https://vm-qpse3mho5qps7fj2kw0hzy.vusercontent.net"
|
||||
- "https://www.kilimo.farm"
|
||||
- "https://kilimo.farm"
|
||||
allowedMethods:
|
||||
- GET
|
||||
- POST
|
||||
- PUT
|
||||
- DELETE
|
||||
- OPTIONS
|
||||
allowedHeaders:
|
||||
- "*"
|
||||
allowCredentials: true
|
||||
|
||||
# 4. Actuator for Troubleshooting
|
||||
management:
|
||||
|
||||
Reference in New Issue
Block a user