Skip to content

Commit f4969d4

Browse files
ricardogobbosouzapi0
authored andcommitted
Update README.md (#39)
1 parent 45dcbd2 commit f4969d4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@
3939
{
4040
modules: [
4141
// Simple usage
42-
'@nuxtjs/proxy',
42+
'@nuxtjs/proxy',
4343

44-
// With options
45-
['@nuxtjs/proxy', { pathRewrite: { '^/api' : '/api/v1' } }],
44+
// With options
45+
['@nuxtjs/proxy', { pathRewrite: { '^/api' : '/api/v1' } }]
4646
]
4747
}
4848
```
@@ -85,11 +85,11 @@ Keys are [context](https://github.com/chimurai/http-proxy-middleware#context-mat
8585
```js
8686
{
8787
proxy: {
88-
// Simple proxy
89-
'/api': 'http://example.com',
88+
// Simple proxy
89+
'/api': 'http://example.com',
9090

91-
// With options
92-
'/api2': { target: 'http://example.com', ws: false }
91+
// With options
92+
'/api2': { target: 'http://example.com', ws: false }
9393
}
9494
}
9595
```

0 commit comments

Comments
 (0)