Skip to content

Commit

Permalink
refactor: remove unused await
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Jun 11, 2022
1 parent 3b08484 commit 3eb8a99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/server/index.ts
Expand Up @@ -561,7 +561,7 @@ async function startServer(

const options = server.config.server
const port = inlinePort ?? options.port ?? 5173
const hostname = await resolveHostname(options.host)
const hostname = resolveHostname(options.host)

const protocol = options.https ? 'https' : 'http'
const info = server.config.logger.info
Expand Down

0 comments on commit 3eb8a99

Please sign in to comment.