Skip to content

Commit 1c9ab7b

Browse files
authored
Make local files work (#31)
This PR adds local path regex to the existing matches. Useful when we have to download the raw file from server and view it locally.
1 parent b0ac924 commit 1c9ab7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

update-manifest.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const jsEntrypoint = assetManifest.entrypoints.filter((file) =>
1414
const contentScripsOtps = {
1515
content_scripts: [
1616
{
17-
matches: ["*://*/*/-/jobs/*/raw", "*://*/*/*/*/*/*/*/job.log*", "https://storage.googleapis.com/gitlab-gprd-artifacts/*/job.log*"],
17+
matches: ["*://*/*/-/jobs/*/raw", "*://*/*/*/*/*/*/*/job.log*", "https://storage.googleapis.com/gitlab-gprd-artifacts/*/job.log*", "file:///*job.log"],
1818
css: cssEntrypoints,
1919
js: jsEntrypoint,
2020
},

0 commit comments

Comments
 (0)