Closed wout closed 5 months ago
In the HTTP Server example on the home page, this line:
address = server.bind(8080)
Results in:
In server.cr:9:23 9 | address = server.bind(8080) ^ Error: expected argument #1 to 'HTTP::Server#bind' to be Socket::Server, String or URI, not Int32 Overloads are: - HTTP::Server#bind(uri : String) - HTTP::Server#bind(uri : URI) - HTTP::Server#bind(socket : Socket::Server)
It should be:
address = server.bind_tcp(8080)
In the HTTP Server example on the home page, this line:
Results in:
It should be: