--- deliantra/server/ext/tcp_http.ext 2012/11/06 23:33:15 1.4 +++ deliantra/server/ext/tcp_http.ext 2012/11/06 23:55:54 1.5 @@ -104,12 +104,15 @@ push @body, ""; - $self->respond ("200 OK", (join "", @body), "Content-Type: text/html\015\012"); + $self->respond ("200 OK", (join "", @body), "content-type: text/html\015\012"); } elsif ($uri eq "/ws" && defined &ext::ws::server) { &ext::ws::server ($self->{id}, $self->{fh}, "$req\015\012\015\012$self->{rbuf}"); %$self = (); + } elsif ($uri eq "/") { + $self->respond ("302 hack", "", "location: http://cvs.schmorp.de/deliantra/html5client/client.html\015\012"); + } else { $self->respond ("404 not found"); }