Skip to content

Commit 055d170

Browse files
committed
allow libre311 cors
Signed-off-by: Josh Hootman <[email protected]>
1 parent 37f57e6 commit 055d170

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

UnityAuth/src/main/resources/application.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ micronaut:
1414
access:
1515
- isAnonymous()
1616
authentication: bearer
17+
server:
18+
cors:
19+
enabled: true
20+
configurations:
21+
allowedOrigins:
22+
- ${LIBRE311_UI_BASE_URL}
1723
datasources:
1824
default:
1925
driver-class-name: com.mysql.cj.jdbc.Driver

0 commit comments

Comments
 (0)