forked from tangled.org/core
Monorepo for Tangled — https://tangled.org

appview/middleware: fix fmt.Sprintf for meta html

Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>

anirudh.fi 4202ffcc 85face2f

verified
Changed files
+2 -2
appview
middleware
+2 -2
appview/middleware/middleware.go
···
html := fmt.Sprintf(
`<meta name="go-import" content="tangled.sh/%s git https://tangled.sh/%s"/>
<meta name="go-import" content="tangled.org/%s git https://tangled.org/%s"/>`,
-
fullName,
-
fullName,
+
fullName, fullName,
+
fullName, fullName,
)
w.Header().Set("Content-Type", "text/html")
w.Write([]byte(html))