kemal/samples/hello_world.cr

9 lines
124 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
2016-03-19 13:38:31 +00:00
Kemal.run