Skip to content

Commit 6ca883e

Browse files
committed
doc add example for route params closes #9
1 parent 3206457 commit 6ca883e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default defineNuxtConfig({
6161
name: defaultDatabase.connector,
6262
options: defaultDatabase.options,
6363
},
64-
noAuthRoutes: ["POST:/api/auth/getToken"], // list of routes that do not require authentication
64+
noAuthRoutes: ["POST:/api/auth/getToken", "GET:/api/orders/[id]"], // list of routes that do not require authentication, query params ignored automatically
6565
},
6666
});
6767
```

0 commit comments

Comments
 (0)