Added static files section
This commit is contained in:
parent
83bbe7e19a
commit
72ca56ea91
|
@ -95,6 +95,12 @@ Accessing the environment (query params, body, content_type, headers, status_cod
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Static Files
|
||||||
|
|
||||||
|
Kemal has built-in support for serving your static files. You need to put your static files under your ```src/public``` directory.
|
||||||
|
|
||||||
|
E.g: A static file like ```src/public/index.html``` will be served with the matching route ```/index.html```.
|
||||||
|
|
||||||
## Thanks
|
## Thanks
|
||||||
|
|
||||||
Thanks to Manas for their awesome work on [Frank](https://github.com/manastech/frank).
|
Thanks to Manas for their awesome work on [Frank](https://github.com/manastech/frank).
|
||||||
|
|
Loading…
Reference in New Issue