forked from extern/nix-config
Add initial layout for a server to serv.cr
This commit is contained in:
parent
bab97ed544
commit
1a66596fdb
8
src/serv.cr
Normal file
8
src/serv.cr
Normal file
@ -0,0 +1,8 @@
|
||||
require "kemal"
|
||||
|
||||
get "/" do
|
||||
render "serv/views/index.ecr", "serv/layouts/main.ecr"
|
||||
end
|
||||
|
||||
Kemal.run()
|
||||
|
Loading…
Reference in New Issue
Block a user