update vendor path for generate_readable_outline.go
This commit is contained in:
@@ -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.
|
// 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 {
|
func GenerateReadableOutline() proxychain.ResponseModification {
|
||||||
// get template only once, and resuse for subsequent calls
|
// 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)
|
tmpl, err := template.ParseFS(templateFS, f)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(fmt.Errorf("tx.GenerateReadableOutline Error: %s not found", f))
|
panic(fmt.Errorf("tx.GenerateReadableOutline Error: %s not found", f))
|
||||||
|
|||||||
Reference in New Issue
Block a user