Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-4692

Set access control headers on files in Google Cloud Storage

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Merged
    • Icon: Should have Should have
    • None
    • None

      In order to make it possible to have images download directly instead of the browser opening them in a tab, the images that we store in Google Cloud Storage need to have the following response header:

      Access-Control-Allow-Origin: *

      This is safe to do as these images are publicly available anyway. It might also help address other CORS issues we might have.

        1. develop_corsconfig_action
          3 kB
          Jennifer Hasenauer
        2. develop_corsconfig_current
          5 kB
          Jennifer Hasenauer

            jhasenau Jennifer Hasenauer (Inactive)
            pvincent Pieter Vincent (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: