Skip to content

Commit

Permalink
docs: fixing incorrect example middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
JannikZed committed Jul 6, 2023
1 parent 420dd47 commit fa45bdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Due to the default settings in the Strapi Security Middleware you will need to m
`./config/middlewares.js`

```js
module.exports = [
module.exports = ({ env }) => ([
// ...
{
name: "strapi::security",
Expand All @@ -98,7 +98,7 @@ module.exports = [
},
},
// ...
];
]);
```

## Bucket CORS Configuration
Expand Down

0 comments on commit fa45bdc

Please sign in to comment.