We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8041ba commit b7afcf5Copy full SHA for b7afcf5
browser-extension/tests/har-view.ts
@@ -64,14 +64,10 @@ async function loadHar(filename: string) {
64
65
// Add redirect routes for each PAGES URL to handle refreshes
66
Object.entries(PAGES).forEach(([key, url]) => {
67
- try {
68
- const urlObj = new URL(url)
69
- app.get(urlObj.pathname, (_req, res) => {
70
- res.redirect(`/page/${key}.har/gitcasso`)
71
- })
72
- } catch (error) {
73
- console.warn(`Could not create redirect route for ${key}: ${url}`)
74
- }
+ const urlObj = new URL(url)
+ app.get(urlObj.pathname, (_req, res) => {
+ res.redirect(`/page/${key}.har/gitcasso`)
+ })
75
})
76
77
// List available HAR files
0 commit comments