update vendor path for generate_readable_outline.go

This commit is contained in:
Kevin Pham
2023-12-06 08:59:52 -06:00
parent f559e7f422
commit 9d6cedb2a5

View File

@@ -26,7 +26,7 @@ var templateFS embed.FS
// This is a reliable way of bypassing soft-paywalled articles, where the content is hidden, but still present in the DOM.
func GenerateReadableOutline() proxychain.ResponseModification {
// get template only once, and resuse for subsequent calls
f := "generate_readable_outline.html"
f := "vendor/generate_readable_outline.html"
tmpl, err := template.ParseFS(templateFS, f)
if err != nil {
panic(fmt.Errorf("tx.GenerateReadableOutline Error: %s not found", f))