From 0e0d711a9d524c445a61a05831a824ac7080f3b8 Mon Sep 17 00:00:00 2001 From: Vika Date: Mon, 3 Oct 2022 17:45:22 +0300 Subject: LibreJS compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I don't know how worthwhile that was, given that LibreJS developers themselves don't care to properly declare licenses on the Bazaar frontend they use to host the extension's source code on the Web 🤡 --- kittybox-rs/templates/src/templates.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kittybox-rs/templates/src') diff --git a/kittybox-rs/templates/src/templates.rs b/kittybox-rs/templates/src/templates.rs index 60daa55..ba5b684 100644 --- a/kittybox-rs/templates/src/templates.rs +++ b/kittybox-rs/templates/src/templates.rs @@ -19,6 +19,8 @@ markup::define! { // legacy links for some dumb clients link[rel="authorization_endpoint", href="/.kittybox/indieauth/auth"]; link[rel="token_endpoint", href="/.kittybox/indieauth/token"]; + // LibreJS-compliant JS licensing info (because TypeScript is a bitch) + link[rel="jslicense", href="/.kittybox/static/jslicense.html"]; /*@if let Some(endpoints) = endpoints { @if let Some(webmention) = &endpoints.webmention { link[rel="webmention", href=&webmention]; -- cgit 1.4.1