Skip to content

Commit cd6bf29

Browse files
authored
docs: update the proxy options link (#14259)
1 parent 68bd0a8 commit cd6bf29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/config/server-options.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Configure custom proxy rules for the dev server. Expects an object of `{ key: op
9090

9191
Note that if you are using non-relative [`base`](/config/shared-options.md#base), you must prefix each key with that `base`.
9292

93-
Extends [`http-proxy`](https://github.com/http-party/node-http-proxy#options). Additional options are [here](https://github.com/vitejs/vite/blob/main/packages/vite/src/node/server/middlewares/proxy.ts#L13).
93+
Extends [`http-proxy`](https://github.com/http-party/node-http-proxy#options). Additional options are [here](https://github.com/vitejs/vite/blob/main/packages/vite/src/node/server/middlewares/proxy.ts#L12).
9494

9595
In some cases, you might also want to configure the underlying dev server (e.g. to add custom middlewares to the internal [connect](https://github.com/senchalabs/connect) app). In order to do that, you need to write your own [plugin](/guide/using-plugins.html) and use [configureServer](/guide/api-plugin.html#configureserver) function.
9696

0 commit comments

Comments
 (0)