删除多余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 host = address.address === '::' ? 'localhost' : address.address
|
||||||
const port = address.port
|
const port = address.port
|
||||||
const url = `http://${host}:${port}`;
|
const url = `http://${host}:${port}`;
|
||||||
let resd;
|
|
||||||
try {
|
try {
|
||||||
resd = await open(url, {
|
await open(url, {
|
||||||
app: {
|
app: {
|
||||||
name: apps.chrome,
|
name: apps.chrome,
|
||||||
arguments: [
|
arguments: [
|
||||||
|
Loading…
Reference in New Issue
Block a user