Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed prepareURLs
  • Loading branch information
AndreiSoroka committed Feb 25, 2022
commit 139e69312197eca29a961cd20205e3b3f0e26fbb
4 changes: 2 additions & 2 deletions packages/@vue/cli-service/lib/util/prepareURLs.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ module.exports = function prepareUrls (protocol, host, port, pathname = '/') {
protocol,
hostname,
port,
pathname
pathname: pathname === 'auto' ? '' : pathname
})
const prettyPrintUrl = hostname =>
url.format({
protocol,
hostname,
port: chalk.bold(port),
pathname
pathname: pathname === 'auto' ? '' : pathname
})

const isUnspecifiedHost = host === '0.0.0.0' || host === '::'
Expand Down