Skip to content

Commit 1092d9f

Browse files
committed
include regex when running locally
Signed-off-by: Josh Hootman <[email protected]>
1 parent 1bc39e1 commit 1092d9f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

UnityAuth/src/main/resources/application-local.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@ micronaut:
55
cors:
66
enabled: true
77
configurations:
8-
allowedOrigins:
9-
- http://localhost:3000
10-
- localhost:3000
11-
- http://127.0.0.1:3000
8+
web:
9+
allowed-origins-regex: '^http:\/\/(.*?)localhost:3000$'
10+
allowedOrigins:
11+
- http://localhost:3000
12+
- localhost:3000
13+
- http://127.0.0.1:3000
14+
1215
security:
1316
authentication: bearer
1417
datasources:

0 commit comments

Comments
 (0)