We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45dcbd2 commit f4969d4Copy full SHA for f4969d4
README.md
@@ -39,10 +39,10 @@
39
{
40
modules: [
41
// Simple usage
42
- '@nuxtjs/proxy',
+ '@nuxtjs/proxy',
43
44
- // With options
45
- ['@nuxtjs/proxy', { pathRewrite: { '^/api' : '/api/v1' } }],
+ // With options
+ ['@nuxtjs/proxy', { pathRewrite: { '^/api' : '/api/v1' } }]
46
]
47
}
48
```
@@ -85,11 +85,11 @@ Keys are [context](https://github.com/chimurai/http-proxy-middleware#context-mat
85
```js
86
87
proxy: {
88
- // Simple proxy
89
- '/api': 'http://example.com',
+ // Simple proxy
+ '/api': 'http://example.com',
90
91
92
- '/api2': { target: 'http://example.com', ws: false }
+ '/api2': { target: 'http://example.com', ws: false }
93
94
95
0 commit comments