Skip to content

Commit

Permalink
Update CORS config in AAS Registry chart
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekmaha23 committed Feb 20, 2024
1 parent b191c65 commit cc8608f
Showing 1 changed file with 4 additions and 23 deletions.
27 changes: 4 additions & 23 deletions examples/cloud/dependency_charts/aas-registry/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,27 +31,8 @@ ingress:

# Content of application.yaml
config: |
servlet:
headers:
- path: /**
values:
Access-Control-Allow-Origin: "*"
Access-Control-Allow-Methods: POST,PUT,GET,DELETE,OPTIONS
Access-Control-Allow-Headers: Content-Type, Accept
Access-Control-Max-Age: 10000
- path: /api/v3.0/shell-descriptors
values:
Access-Control-Allow-Origin: "*"
Access-Control-Allow-Methods: POST,PUT,GET,DELETE,OPTIONS
Access-Control-Allow-Headers: Accept, Content-Type
methods:
- OPTIONS
- path: /registry/shell-descriptors/search
values:
Access-Control-Allow-Origin: "*"
Access-Control-Allow-Methods: POST,GET,OPTIONS
Access-Control-Allow-Headers: Accept, Content-Type
methods:
- OPTIONS
basyx:
cors:
allowed-origins: "*"
allowed-methods: "GET,POST,PATCH,DELETE,PUT,OPTIONS,HEAD"

0 comments on commit cc8608f

Please sign in to comment.