Skip to content

Commit a5128f9

Browse files
authored
Merge pull request #20 from UnityFoundation-io/allow-cors-with-frontend
use regex for cors
2 parents fefeb55 + 1bc39e1 commit a5128f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

UnityAuth/src/main/resources/application.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ micronaut:
1818
cors:
1919
enabled: true
2020
configurations:
21-
allowedOrigins:
22-
- ${LIBRE311_UI_BASE_URL}
21+
web:
22+
allowed-origins-regex: ${LIBRE311_UI_BASE_URL}
2323
datasources:
2424
default:
2525
driver-class-name: com.mysql.cj.jdbc.Driver

0 commit comments

Comments
 (0)