Skip to content

Commit

Permalink
added cors to middleware app.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
arinkulshi-skylight committed Nov 26, 2024
1 parent 7b4c014 commit 63a30ba
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion backend/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,10 @@ management:
include: "*"
endpoint:
health:
show-details: always
show-details: always

cors:
allowed-origins: "http://localhost:5173"
allowed-methods: "GET,POST,PUT,DELETE,OPTIONS"
allowed-headers: "*"
allow-credentials: true

0 comments on commit 63a30ba

Please sign in to comment.