Skip to content

Commit

Permalink
move all non *.go files to vendor directory
Browse files Browse the repository at this point in the history
  • Loading branch information
dkbednarczyk committed Dec 6, 2023
1 parent 0bfd83f commit 2098443
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion proxychain/responsemodifiers/block_element_removal.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion proxychain/responsemodifiers/generate_readable_outline.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion proxychain/responsemodifiers/patch_google_analytics.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2098443

Please sign in to comment.