Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
runyasak committed Jan 28, 2023
1 parent 01dec2c commit d03be50
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,28 @@ If you wish to modify them you can do so from the configuration:
}
```

Or, you can pass options directly

```js{}[nuxt.config.js]
export default defineNuxtConfig({
modules: [
[
'nuxt-security',
{
requestSizeLimiter: {
value: {
maxRequestSizeInBytes: 3000000,
maxUploadFileRequestInBytes: 9000000,
},
route: '/upload-file'
}
// Other options
}
]
]
})
```

For all available configuration options check out the [docs](https://nuxt-security.vercel.app)

## Development
Expand Down

0 comments on commit d03be50

Please sign in to comment.