Skip to content

Commit 924d0ae

Browse files
committed
Enable CORS
1 parent d428b9d commit 924d0ae

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

kobby-maven-tutorial-cinema-server/src/main/resources/application.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,10 @@ spring:
44
locations: classpath*:io/github/ermadmi78/kobby/cinema/api/**
55
websocket:
66
path: /graphql
7+
cors:
8+
allow-credentials: true
9+
allowed-origin-patterns: "*"
10+
allowed-methods: "*"
11+
allowed-headers: "*"
712
graphiql:
813
enabled: true

0 commit comments

Comments
 (0)