删除多余resd

This commit is contained in:
expressgy 2025-04-22 01:28:26 +08:00
parent fcf76547e5
commit d73ff964db

View File

@ -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: [