删除多余resd
This commit is contained in:
parent
fcf76547e5
commit
d73ff964db
@ -27,9 +27,8 @@ async function startBroswer(address: AddressInfo | string | null) {
|
||||
const host = address.address === '::' ? 'localhost' : address.address
|
||||
const port = address.port
|
||||
const url = `http://${host}:${port}`;
|
||||
let resd;
|
||||
try {
|
||||
resd = await open(url, {
|
||||
await open(url, {
|
||||
app: {
|
||||
name: apps.chrome,
|
||||
arguments: [
|
||||
|
Loading…
Reference in New Issue
Block a user