diff --git a/site/src/components/Head.astro b/site/src/components/Head.astro index 799a9456..03feca49 100644 --- a/site/src/components/Head.astro +++ b/site/src/components/Head.astro @@ -9,5 +9,9 @@ import { Font } from 'astro:assets'; +{/* Go module discovery for `go get echo.labstack.com/pro/...`: Go fetches + any /pro page with ?go-get=1 and reads this tag, so installs work from the + static site alone. The proxy at go.labstack.io checks the customer token. */} +{isProPage(Astro.url.pathname) && } {isProPage(Astro.url.pathname) && Astro.url.pathname.replace(/\/$/, '') !== '/pro' && }