Skip to content

Commit

Permalink
fix lint (no Number)
Browse files Browse the repository at this point in the history
  • Loading branch information
mondaychen committed Mar 7, 2023
1 parent ba8c3cf commit b4fe0ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-devtools/preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ contextBridge.exposeInMainWorld('api', {
}
const host = process.env.HOST || 'localhost';
const protocol = useHttps ? 'https' : 'http';
const port = Number(process.env.PORT || 8097);
const port = +process.env.PORT || 8097;
return {options, useHttps, host, protocol, port};
},
});

0 comments on commit b4fe0ad

Please sign in to comment.