Skip to content

Commit

Permalink
docs(readme): fix rake middleware to rails middleware (#276)
Browse files Browse the repository at this point in the history
The first one is not working anymore.
  • Loading branch information
ismailarilik committed Mar 19, 2024
1 parent 41ccfee commit 0e68b88
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 @@ -129,13 +129,13 @@ Here are some scenarios where incorrect positioning have created issues:
You can run the following command to see what the middleware stack looks like:

```bash
bundle exec rake middleware
bundle exec rails middleware
```

Note that the middleware stack is different in production. For example, the `ActionDispatch::Static` middleware will not be part of the stack if `config.serve_static_assets = false`. You can run this to see what your middleware stack looks like in production:

```bash
RAILS_ENV=production bundle exec rake middleware
RAILS_ENV=production bundle exec rails middleware
```

### Serving static files
Expand Down

0 comments on commit 0e68b88

Please sign in to comment.