Skip to content
Adithyan Dinesh edited this page Sep 24, 2025 · 1 revision

GH Viewer: Study loading Requirements

Active domains

  1. https://gradienthealth.github.io/ ( nightly )
  2. https://gradienthealth.github.io/atlas/ ( production )

Study loading requirements

  1. The user needs storage.objects.get, storage.objects.create, storage.objects.list permissions in the cloud bucket on which the study is stored. Recommended roles : [ Storage Object Viewer and Storage Object Creator ]
  2. The user needs Service Usage Consumer role in the laplace-viewer project. This project is used as the billing project when fetching cloud data.
  3. The bucket on which the study is stored should be CORS configured.

Example CORS config

{
    "maxAgeSeconds": 3600,
    "method": [
        "GET",
        "OPTIONS"
    ],
    "origin": [
        "https://gradienthealth.github.io",
        "http://localhost:3000",
        "https://library.laplacehealth.io",
        "https://atlas.gradienthealth.io"
    ],
    "responseHeader": [
        "Content-Type",
        "Access-Control-Allow-Origin",
        "Authorization",
        "Accept",
        "X-Goog-User-Project"
    ]
}

Clone this wiki locally