diff --git a/packages/vite/src/node/server/middlewares/proxy.ts b/packages/vite/src/node/server/middlewares/proxy.ts index 6a546260941cd5..810f435cfa84a1 100644 --- a/packages/vite/src/node/server/middlewares/proxy.ts +++ b/packages/vite/src/node/server/middlewares/proxy.ts @@ -28,7 +28,7 @@ export interface ProxyOptions extends HttpProxy.ServerOptions { options: ProxyOptions, ) => void | null | undefined | false | string /** - * rewrite the Origin header of a WebSocket request to match the the target + * rewrite the Origin header of a WebSocket request to match the target * * **Exercise caution as rewriting the Origin can leave the proxying open to [CSRF attacks](https://owasp.org/www-community/attacks/csrf).** */