From 49087bd5738a2cf69ee46b10a74cfd61c18e9959 Mon Sep 17 00:00:00 2001 From: aruseni Date: Sun, 22 Sep 2024 21:24:04 +0300 Subject: [PATCH] docs: fix typo in proxy.ts (#18162) --- packages/vite/src/node/server/middlewares/proxy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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).** */