Jhipster CORS enable
问题 I am using Jhipster to generate API. My api is on lets call it : https://api.staging.test.com/ and my FE app is on : https://staging.test.com/ Here is my config for Cors enable in application-prod.yml cors: allowed-origins: "https://staging.test.com/" allowed-methods: "*" allowed-headers: GET, PUT, POST, DELETE, OPTIONS exposed-headers: "Authorization,Link,X-Total-Count" allow-credentials: true max-age: 1800 I still get this error : Response to preflight request doesn't pass access control