Skip to content

Commit 1bc39e1

Browse files
committed
change to cors with regex
Signed-off-by: Josh Hootman <[email protected]>
1 parent b9042a2 commit 1bc39e1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

UnityAuth/src/main/resources/application.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ micronaut:
1717
server:
1818
cors:
1919
enabled: true
20+
configurations:
21+
web:
22+
allowed-origins-regex: ${LIBRE311_UI_BASE_URL}
2023
datasources:
2124
default:
2225
driver-class-name: com.mysql.cj.jdbc.Driver

0 commit comments

Comments
 (0)