From 1a66596fdb8d0f921cb01955e34d98cabe71dcfb Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sat, 16 Dec 2017 23:56:05 -0500 Subject: [PATCH] Add initial layout for a server to serv.cr --- src/serv.cr | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/serv.cr diff --git a/src/serv.cr b/src/serv.cr new file mode 100644 index 0000000..7c00e45 --- /dev/null +++ b/src/serv.cr @@ -0,0 +1,8 @@ +require "kemal" + +get "/" do + render "serv/views/index.ecr", "serv/layouts/main.ecr" +end + +Kemal.run() +