Fix static sample
This commit is contained in:
parent
72ca56ea91
commit
fd5c913f53
1 changed files with 2 additions and 2 deletions
|
@ -97,9 +97,9 @@ Accessing the environment (query params, body, content_type, headers, status_cod
|
||||||
|
|
||||||
## Static Files
|
## Static Files
|
||||||
|
|
||||||
Kemal has built-in support for serving your static files. You need to put your static files under your ```src/public``` directory.
|
Kemal has built-in support for serving your static files. You need to put your static files under your ```/public``` directory.
|
||||||
|
|
||||||
E.g: A static file like ```src/public/index.html``` will be served with the matching route ```/index.html```.
|
E.g: A static file like ```/public/index.html``` will be served with the matching route ```/index.html```.
|
||||||
|
|
||||||
## Thanks
|
## Thanks
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue