We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95fe5a7 commit abf766eCopy full SHA for abf766e
packages/vite/src/node/http.ts
@@ -43,8 +43,8 @@ export interface CommonServerOptions {
43
* ``` js
44
* module.exports = {
45
* proxy: {
46
- * // string shorthand
47
- * '/foo': 'http://localhost:4567/foo',
+ * // string shorthand: /foo -> http://localhost:4567/foo
+ * '/foo': 'http://localhost:4567',
48
* // with options
49
* '/api': {
50
* target: 'http://jsonplaceholder.typicode.com',
0 commit comments