Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CorsSettings

Package version

Cross-Origin Resource Sharing (CORS) settings for the app.

Hierarchy

  • CorsSettings

Index

Properties

Optional allowedOrigins

allowedOrigins: string[]

Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all.

Optional supportCredentials

supportCredentials: undefined | false | true

Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials for more details.

Generated using TypeDoc