Uploaded image for project: 'Quarkus Documentation'
  1. Quarkus Documentation
  2. QDOCS-1151

[Docs] [Breaking Change]: quarkus.http.cors is deprecated, use quarkus.http.cors.enabled

XMLWordPrintable

    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      [id="ref_rn-qdocs-1152-quarkus-log-json-deprecated_{context}"]
      = Deprecation of `quarkus.http.cors` property

      In {ProductLongName} {ProductVersion}, the `quarkus.http.cors` configuration property has been deprecated.
      To enable Cross-Origin Resource Sharing (CORS), use the `quarkus.http.cors.enabled` property instead.

      Update your configuration as follows:

      ----
      quarkus.http.cors.enabled=true
      ----

      This change improves clarity by distinguishing the feature toggle from other CORS-related settings.

      For more information, see the link:https://quarkus.io/guides/security-cors[Cross-Origin Resource Sharing (CORS) guide].

      // https://issues.redhat.com/browse/QDOCS-1152

      Show
      [id="ref_rn-qdocs-1152-quarkus-log-json-deprecated_{context}"] = Deprecation of `quarkus.http.cors` property In {ProductLongName} {ProductVersion}, the `quarkus.http.cors` configuration property has been deprecated. To enable Cross-Origin Resource Sharing (CORS), use the `quarkus.http.cors.enabled` property instead. Update your configuration as follows: ---- quarkus.http.cors.enabled=true ---- This change improves clarity by distinguishing the feature toggle from other CORS-related settings. For more information, see the link: https://quarkus.io/guides/security-cors [Cross-Origin Resource Sharing (CORS) guide]. // https://issues.redhat.com/browse/QDOCS-1152
    • Quarkus Docs Sprint 38

            mmaler@redhat.com Michal Maléř
            shjones@redhat.com Sheila Jones
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: