From 3a73ac521cfef932e8a98c1ff39616cf877e5de0 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 16 Apr 2025 19:25:59 -0400 Subject: Roll back change to add a return for unreachable functions --- examples/http-server/http-server.tm | 1 - 1 file changed, 1 deletion(-) (limited to 'examples') diff --git a/examples/http-server/http-server.tm b/examples/http-server/http-server.tm index 4c04491a..80774bff 100644 --- a/examples/http-server/http-server.tm +++ b/examples/http-server/http-server.tm @@ -112,7 +112,6 @@ enum RouteEntry(ServeFile(file:Path), Redirect(destination:Text)) return HTTPResponse(body, content_type=_content_type(file)) is Redirect(destination) return HTTPResponse("Found", 302, headers={"Location"=destination}) - return HTTPResponse("Unreachable", 500) func load_routes(directory:Path -> {Text=RouteEntry}) routes : &{Text=RouteEntry} -- cgit v1.2.3