Skip to content

Commit f800252

Browse files
committed
update readme
1 parent 7550510 commit f800252

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,10 @@ export default defineNuxtConfig({
5555
target: 'https://jsonplaceholder.typicode.com',
5656
changeOrigin: true,
5757
pathRewrite: {
58-
'^/api/todos': '/todos',
59-
'^/api/users': '/users'
58+
'^/api/todos': '/todos'
6059
},
6160
pathFilter: [
62-
'/api/todos',
63-
'/api/users'
61+
'/api/todos'
6462
]
6563
},
6664
{
@@ -78,7 +76,6 @@ export default defineNuxtConfig({
7876
})
7977

8078
// GET /api/todos -> https://jsonplaceholder.typicode.com/todos [304]
81-
// GET /api/users -> https://jsonplaceholder.typicode.com/users [304]
8279
// GET /api/launches -> https://api.spacexdata.com/v5/launches/latest [304]
8380
```
8481

0 commit comments

Comments
 (0)