Skip to content

Commit 56d06f7

Browse files
authored
Update modules/ROOT/partials/configuration/crossorigin.adoc
1 parent 733386a commit 56d06f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/ROOT/partials/configuration/crossorigin.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ When loading {productname} from {cloudname}:
5151
* The crossorigin function runs for both scripts and stylesheets loaded by {productname}.
5252
* Using `+'anonymous'+` sends the Origin header without credentials.
5353
* 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.
5555
* 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.
5656
====
5757

0 commit comments

Comments
 (0)