Skip to content

Commit

Permalink
port
Browse files Browse the repository at this point in the history
  • Loading branch information
mikka23 committed Apr 20, 2021
1 parent a1dc775 commit 9a1c079
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ app.get( '/', async ( req, res ) => {
'max-potential-fid',
'cumulative-layout-shift',
],
port: ( new URL( chrome.wsEndpoint() ) ).port,
};

const config = {
Expand All @@ -55,7 +56,7 @@ app.get( '/', async ( req, res ) => {
},
};

console.log( 'Launching Lighthouse' );
console.log( 'Launching Lighthouse' );
const runnerResult = await lighthouse( target, options, config ).catch( error => { console.error( 'Lighthouse failed...', error ); } );

let data = {
Expand Down

0 comments on commit 9a1c079

Please sign in to comment.