@dvina/artifact-renderer-viewer
v0.0.66
Published
The Dvina Artifact Renderer viewer as a built static site: index.html and its assets, ready to serve from any static host.
Readme
@dvina/artifact-renderer-viewer
The Dvina Artifact Renderer viewer, built: the page that @dvina/artifact-renderer embeds in its iframe, as a static
site (dist/index.html and dist/assets/).
Serve dist/ from any static host, with an unknown path falling back to index.html. The viewer's own image
(apps/viewer/Dockerfile, nginx) serves it with these headers:
/index.html(and every path that falls back to it):Cache-Control: no-store/assets/*:Cache-Control: public, max-age=31536000, immutable,Access-Control-Allow-Origin: *andCross-Origin-Resource-Policy: cross-origin(widget frames load the kit from an opaque origin); a missing asset is a 404- anything else:
Cache-Control: no-cache
Most users install @dvina/artifact-renderer and point it at a viewer they host; this package is the viewer itself.
