kemal/samples/hello_world.cr

7 lines
113 B
Crystal
Raw Normal View History

2015-10-23 18:50:19 +00:00
require "kemal"
2014-06-11 23:41:02 +00:00
2015-10-23 19:25:46 +00:00
# Set root. If not specified the default content_type is 'text'
2014-06-11 23:41:02 +00:00
get "/" do
2015-10-23 19:25:46 +00:00
"Hello Kemal!"
end