| Modifier and Type | Method and Description |
|---|---|
CorsSettings |
SiteConfig.cors()
Get cross-Origin Resource Sharing (CORS) settings.
|
CorsSettings |
CorsSettings.withAllowedOrigins(List<String> allowedOrigins)
Set gets or sets the list of origins that should be allowed to make cross-origin
calls (for example: http://example.com:12345).
|
| Modifier and Type | Method and Description |
|---|---|
SiteConfig |
SiteConfig.withCors(CorsSettings cors)
Set cross-Origin Resource Sharing (CORS) settings.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/