This repository has been archived by the owner on Sep 27, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 176
Document Static Middleware #371
Comments
I don't think, this should really go under I believe having a new document that talks about |
I'd also like to +1 Romains point (in Discord), that should suggest using CDN / proxy like Nginx etc to serve static files somewhere in documentation.
Seems like good idea 👍 |
Yup, happy to recommend that. Mind doing a PR with the initial doc? |
Sure, will file it in after work |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently
'Adonis/Middleware/Static',
is documented only undermiddelware
section of documentation. https://adonisjs.com/docs/4.1/middleware#_server_middlewareI think it should be also noted under file uploads or file storage sections.
It is really inconvenient and little bit illogical that you need to read through middleware section of documentation too if you want to receive files from public folder.
In middleware part of documentation it is only mentioned once in example, but there is nothing to explain this line / middleware
I can fill in PR if anyone has ideas where it should be documented. I'm not sure myself, if it should be somewhere under file uploads or file storage 🤔
The text was updated successfully, but these errors were encountered: