Skip to content

Commit

Permalink
chore: fix grammar (#18385)
Browse files Browse the repository at this point in the history
  • Loading branch information
iiio2 authored Oct 17, 2024
1 parent 4d5f51d commit 8030231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/client/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ async function waitForSuccessfulPing(
const ping = async () => {
// A fetch on a websocket URL will return a successful promise with status 400,
// but will reject a networking error.
// When running on middleware mode, it returns status 426, and an cors error happens if mode is not no-cors
// When running on middleware mode, it returns status 426, and a cors error happens if mode is not no-cors
try {
await fetch(`${pingHostProtocol}://${hostAndPath}`, {
mode: 'no-cors',
Expand Down

0 comments on commit 8030231

Please sign in to comment.