mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-08-17 18:21:04 +02:00
Add initial layout for a server to serv.cr
This commit is contained in:
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()
|
||||||
|
|
Reference in New Issue
Block a user