Merge pull request #62 from dxbednarczyk/origin/proxy_v2
Update deps and move non `*.go` files to vendor directories
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
"ladder/proxychain/responsemodifiers/rewriters"
|
||||
)
|
||||
|
||||
//go:embed block_element_removal.js
|
||||
//go:embed vendor/block_element_removal.js
|
||||
var blockElementRemoval string
|
||||
|
||||
// BlockElementRemoval prevents paywall javascript from removing a
|
||||
|
||||
@@ -19,7 +19,7 @@ import (
|
||||
"github.com/markusmobius/go-trafilatura"
|
||||
)
|
||||
|
||||
//go:embed generate_readable_outline.html
|
||||
//go:embed vendor/generate_readable_outline.html
|
||||
var templateFS embed.FS
|
||||
|
||||
// GenerateReadableOutline creates an reader-friendly distilled representation of the article.
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"ladder/proxychain/responsemodifiers/rewriters"
|
||||
)
|
||||
|
||||
//go:embed patch_dynamic_resource_urls.js
|
||||
//go:embed vendor/patch_dynamic_resource_urls.js
|
||||
var patchDynamicResourceURLsScript string
|
||||
|
||||
// PatchDynamicResourceURLs patches the javascript runtime to rewrite URLs client-side.
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"ladder/proxychain"
|
||||
)
|
||||
|
||||
//go:embed patch_google_analytics.js
|
||||
//go:embed vendor/patch_google_analytics.js
|
||||
var gaPatch string
|
||||
|
||||
// PatchGoogleAnalytics replaces any request to google analytics with a no-op stub function.
|
||||
|
||||
Reference in New Issue
Block a user