File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 6
6
branches : [main]
7
7
8
8
jobs :
9
- format :
9
+ check :
10
10
name : " Check"
11
11
runs-on : ubuntu-latest
12
12
steps :
Original file line number Diff line number Diff line change 6
6
branches : [main]
7
7
8
8
jobs :
9
- format :
9
+ lint :
10
10
name : " Lint"
11
11
runs-on : ubuntu-latest
12
12
steps :
Original file line number Diff line number Diff line change @@ -71,10 +71,10 @@ router.get(
71
71
const query = await getValidatedQuery ( event , screenshotParams . parse ) ;
72
72
const context = await browser . newContext ( {
73
73
...defaultContext ,
74
- extraHTTPHeaders : JSON . parse ( query . headers ?? '{}' )
74
+ extraHTTPHeaders : JSON . parse ( query . headers ?? "{}" ) ,
75
75
} ) ;
76
76
const page = await context . newPage ( ) ;
77
- await page . goto ( origin + query . path ) ;
77
+ await page . goto ( query . url ) ;
78
78
const screen = await page . screenshot ( ) ;
79
79
await context . close ( ) ;
80
80
return screen ;
You can’t perform that action at this time.
0 commit comments