diff --git a/src/compiler/crystal/tools/playground/views/_about.html b/src/compiler/crystal/tools/playground/views/_about.html index c4b576c69d0b..ad88ed6edc1a 100644 --- a/src/compiler/crystal/tools/playground/views/_about.html +++ b/src/compiler/crystal/tools/playground/views/_about.html @@ -65,10 +65,9 @@

Usage

context.response.headers["Content-Type"] = "text/plain" context.response.print("Hello world!") end -server.bind "0.0.0.0", 5678 puts "Listening on http://0.0.0.0:5678" -server.listen +server.listen "0.0.0.0", 5678

When crystal play is run from your awesome Crystal app or shard you are able to use require as you would normaly do: require relative files and even dependencies declared in your shards.yml.