File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 66 branches : [main]
77
88jobs :
9- format :
9+ check :
1010 name : " Check"
1111 runs-on : ubuntu-latest
1212 steps :
Original file line number Diff line number Diff line change 66 branches : [main]
77
88jobs :
9- format :
9+ lint :
1010 name : " Lint"
1111 runs-on : ubuntu-latest
1212 steps :
Original file line number Diff line number Diff line change @@ -71,10 +71,10 @@ router.get(
7171 const query = await getValidatedQuery ( event , screenshotParams . parse ) ;
7272 const context = await browser . newContext ( {
7373 ...defaultContext ,
74- extraHTTPHeaders : JSON . parse ( query . headers ?? '{}' )
74+ extraHTTPHeaders : JSON . parse ( query . headers ?? "{}" ) ,
7575 } ) ;
7676 const page = await context . newPage ( ) ;
77- await page . goto ( origin + query . path ) ;
77+ await page . goto ( query . url ) ;
7878 const screen = await page . screenshot ( ) ;
7979 await context . close ( ) ;
8080 return screen ;
You can’t perform that action at this time.
0 commit comments