You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/partials/configuration/crossorigin.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ When loading {productname} from {cloudname}:
51
51
* The crossorigin function runs for both scripts and stylesheets loaded by {productname}.
52
52
* Using `+'anonymous'+` sends the Origin header without credentials.
53
53
* Using `+'use-credentials'+` sends the Origin header with credentials (not recommended for most cases).
54
-
* An empty string `''` means no crossorigin attribute will be set, as it omits the attribute entirely for the resource.
54
+
* Returning `undefined` means no crossorigin attribute will be set, as it omits the attribute entirely for the resource.
55
55
* For stylesheet resources, the `+content_css_cors+` option takes precedence over the `+crossorigin+` function. See: xref:add-css-options.adoc#content_css_cors[content_css_cors] for details about cross-origin stylesheet loading.
0 commit comments