Advertisement
SimpleCookie

Untitled

Feb 15th, 2024
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. spring:
  2. web:
  3. cors:
  4. max-age: 3600
  5. allowed-methods: GET, POST, PUT, DELETE
  6. allowed-headers: "*"
  7. cors-configurations:
  8. - patterns: "/api/**"
  9. allowed-origins: "https://specific-host1.com", "https://specific-host2.com"
  10. - patterns: "/other-api/**"
  11. allowed-origins: "*"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement