![](/_next/image?url=%2Fimages%2Fgradient-top-bg.png&w=1920&q=75)
); let Some(body) = inscription.into_body() else { return Ok(None); }; Ok(Some((headers, body))) } async fn preview( Extension(index): Extension<Arc<Index>>, Extension(config): Extension<Arc<Config>>, Extension(page_config): Extension<Arc<PageConfig>>, Path(inscription_id): Path<InscriptionId>, accept_encoding: AcceptEncoding, ) -> ServerResult<Response> { if config.is_hidden(inscription_id) { return Ok(PreviewUnknownHtml.into_response()); } let inscription = index .get_inscription_by_id(inscription_id)? .ok_or_not_found(|| format!("inscription {inscription_id}"))?; match inscription.media() { Media::Audio => Ok(PreviewAudioHtml { inscription_id }.into_response()), Media::Code(language) => Ok( ( [( header::CONTENT_SECURITY_POLICY, "script-src-elem 'self' https://cdn.jsdelivr.net", )], PreviewCodeHtml { inscription_id, language,
Inscription #44963173
Collection
Ord
Owner
bc1qdwhweh...xxayuwkvyqID
2dc6c32b71...8c0af14ai0
Detail
History
Sign Up for our Newsletter
And be the first to know about any updates!