CORS

If you need to configure a Cross-Origin Resource Sharing (CORS) filter for Panopticon, add properties for it in <appdata>/security.yml. For example:

cors:
    allowed-origins: http://host.sub.company.com:666, http://localhost:9000
    exposed-headers:
        - Access-Control-Allow-Origin
        - Access-Control-Allow-Credentials
    allowed-headers:
        - UTC-Offset
        - Content-Type
        # ... more headers
        - Authorization
allowed-methods: GET, POST, HEAD, OPTIONS, PUT, DELETE
allow-credentials: true

 

 

(c) 2013-2024 Altair Engineering Inc. All Rights Reserved.

Intellectual Property Rights Notice | Technical Support