Skip to content

Commit

Permalink
style: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pengzhanbo committed Jan 17, 2024
1 parent d0f51bc commit 65611a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ export function ensureProxies(serverProxy: ResolvedConfig['server']['proxy'] = {
const value = serverProxy[key]
if (
typeof value === 'string'
|| (!value.ws
&& !value.target?.toString().startsWith('ws:')
&& !value.target?.toString().startsWith('wss:'))
|| (!value.ws
&& !value.target?.toString().startsWith('ws:')
&& !value.target?.toString().startsWith('wss:'))
)
httpProxies.push(key)
else
Expand Down

0 comments on commit 65611a0

Please sign in to comment.