Skip to content

Commit

Permalink
Move default settings for method names into the tagged block so they …
Browse files Browse the repository at this point in the history
…are defined correctly; fix a place where a simple blank cell in a table seemed not to render correctly (#4955)
  • Loading branch information
tjquinno authored Sep 26, 2022
1 parent de05923 commit 56f94d5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/includes/cors.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ ifndef::h1-prefix[:h1-prefix: SE]
:basic-table-intro:
:config-table-methods-column-header: builder method
:cors-config-key-explanation:
:allow-origins-method-name: allowOrigins
:max-age-method-name: maxAgeSeconds
:enabled-method-name: enabled
= CORS Shared content
Expand Down Expand Up @@ -135,6 +132,9 @@ endif::[]
// enabled-method-name
//
// tag::cors-config-table[]
:allow-origins-method-name: allowOrigins
:max-age-method-name: maxAgeSeconds
:enabled-method-name: enabled
ifndef::cors-config-table-exclude-methods+cors-config-table-exclude-keys[]
[width="100%",options="header",cols="6*"]
Expand Down Expand Up @@ -169,7 +169,7 @@ ifndef::cors-config-table-exclude-keys[|`allow-origins`]
ifndef::cors-config-table-exclude-methods[|`exposeHeaders`]
ifndef::cors-config-table-exclude-keys[|`expose-headers`]
|string[] | |Sets the expose headers. |`Access-Control-Expose-Headers`
|string[] | {nbsp} |Sets the expose headers. |`Access-Control-Expose-Headers`
ifndef::cors-config-table-exclude-methods[|`{max-age-method-name}`]
ifndef::cors-config-table-exclude-keys[|`max-age-seconds`]
Expand Down

0 comments on commit 56f94d5

Please sign in to comment.