This repository hosts the production visual assets for the Health Data Safe platform. Content is served as static GitHub Pages from this repo's main branch.
The file index.json is exposed via the Service Information API call under the assets.definitions property, referenced by the prod open-pryv.io platform config.
- Prod service-info: https://reg.api.datasafe.dev/service/info
- Published URL: https://healthdatasafe.github.io/assets-prod/index.json
- Demo equivalent:
healthdatasafe/assets-demo— same structure, served from https://healthdatasafe.github.io/assets-demo/index.json.
baseUrlresolves relative resource paths.nullmeans "resolve againstindex.json's own location" (HTML<base href>semantics).favicon.default—.icofile path.css.default—.cssfile path.{app-name}— custom assets per consumer app (seeapp-web-auth3/,lib-js/).
{
"baseUrl": null,
"favicon": { "default": "favicon.ico" },
"css": { "default": "default.css" },
"lib-js": {
"buttonSignIn": {
"css": "lib-js/buttonSignIn.css",
"html": "lib-js/buttonSignIn.html",
"messages": "lib-js/buttonSignInMessages.json"
}
}
}- Edit files on
main. - Commit + push — GitHub Pages publishes the root of
mainautomatically. - Verify the change at https://healthdatasafe.github.io/assets-prod/index.json after build (~1 minute).
Service-info caches mean clients may see the old version for several minutes after a content change. Verify with a fresh browser session or curl --no-keepalive.