Skip to content

Commit

Permalink
Update admin-redirect.md (#2018)
Browse files Browse the repository at this point in the history
src folder is in the parent directory rather than the config directory
  • Loading branch information
eskres authored Feb 16, 2024
1 parent ccd529c commit c54e33f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This sample configuration expects that the admin panel is accessible on `/admin`
```js title="./config/middlewares.js"
module.exports = ({ env }) => [
// ...
{ resolve: './src/middlewares/admin-redirect' },
{ resolve: '../src/middlewares/admin-redirect' },
];

```
Expand Down

0 comments on commit c54e33f

Please sign in to comment.