We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72104f6 commit 1a3b1d7Copy full SHA for 1a3b1d7
packages/vite/src/client/client.ts
@@ -111,7 +111,7 @@ function setupWebSocket(
111
}
112
113
function cleanUrl(pathname: string): string {
114
- const url = new URL(pathname, location.toString())
+ const url = new URL(pathname, 'http://vitejs.dev')
115
url.searchParams.delete('direct')
116
return url.pathname + url.search
117
0 commit comments