feat: add support bundle notice to viewer

This commit is contained in:
Mikhail Chusavitin
2026-03-16 18:21:34 +03:00
parent a71f55a6f9
commit e5b2ba652c
5 changed files with 69 additions and 9 deletions

View File

@@ -62,7 +62,7 @@ func newHandler(opts HandlerOptions) http.Handler {
return
}
page, err := buildPageData([]byte(payload), title)
page, err := buildPageData([]byte(payload), title, RenderOptions{})
if err != nil {
if opts.Standalone {
html, renderErr := web.RenderUpload(pageData{