File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 55 * It provides two viewing modes: 'clean' (original page) and 'gitcasso' (with extension injected).
66 *
77 * Key components:
8- * - Loads HAR files from ./corpus/har/ and HTML files from ./corpus/html/ based on CORPUS index in `./_corpus-index.ts`
8+ * - Loads HAR and HTML files from ` ./corpus/` based on CORPUS index in `./corpus /_corpus-index.ts`
99 * - For HAR: Patches URLs in HTML to serve assets locally from HAR data
1010 * - For HTML: Serves SingleFile-captured HTML directly (assets already inlined)
1111 * - Handles asset serving by matching HAR entries to requested paths (HAR corpus only)
@@ -562,7 +562,7 @@ function createGitcassoScript(
562562) : string {
563563 const contentScriptSetup = contentScriptCode
564564 ? // Direct embedding (for HTML corpus)
565- `
565+ `
566566 // Set up mocked location
567567 window.gitcassoMockLocation = {
568568 host: '${ urlParts . host } ',
@@ -589,7 +589,7 @@ function createGitcassoScript(
589589 }
590590 `
591591 : // Fetch-based loading (for HAR corpus)
592- `
592+ `
593593 // Fetch and patch the content script to remove webextension-polyfill issues
594594 fetch('/chrome-mv3-dev/content-scripts/content.js')
595595 .then(response => response.text())
You can’t perform that action at this time.
0 commit comments