Skip to content

Commit

Permalink
docs: fix typo in proxy.ts (#18162)
Browse files Browse the repository at this point in the history
  • Loading branch information
aruseni authored Sep 22, 2024
1 parent 21ec1ce commit 49087bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/server/middlewares/proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).**
*/
Expand Down

0 comments on commit 49087bd

Please sign in to comment.