1
0
forked from extern/nix-config

Add initial layout for a server to serv.cr

This commit is contained in:
Donovan Glover 2017-12-16 23:56:05 -05:00
parent bab97ed544
commit 1a66596fdb
No known key found for this signature in database
GPG Key ID: 8FC5F7D90A5D8F4D

8
src/serv.cr Normal file
View File

@ -0,0 +1,8 @@
require "kemal"
get "/" do
render "serv/views/index.ecr", "serv/layouts/main.ecr"
end
Kemal.run()