From 72ca56ea91834cebff9bd5f9258b3d26a0bef535 Mon Sep 17 00:00:00 2001 From: Sdogruyol Date: Sun, 1 Nov 2015 10:40:49 +0200 Subject: [PATCH] Added static files section --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 1c5ec76..6349a14 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,12 @@ Accessing the environment (query params, body, content_type, headers, status_cod 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 to Manas for their awesome work on [Frank](https://github.com/manastech/frank).