Static Files
Add your files to public directory and Kemal will serve these files immediately.
#Files
app/
src/
your_app.cr
public/
js/
jquery.js
your_app.js
css/
your_app.css
index.html
Open index.html and add
#src/public/test.html
<html>
<head>
<script src="/js/jquery.js"></script>
<script src="/js/your_app.js"></script>
<link rel="stylesheet" href="/css/your_app.css"/>
</head>
<body>
...
</body>
</html>
Static File Options
#src/rocky.cr
serve_static false
Disabling Static Files
By default Kemal serves static files from public folder. If you don’t need static file serving at all(if you are only running an API) you can disable it