remove unused url regex

This commit is contained in:
HorizonCode 2023-05-10 15:25:38 +02:00
parent 469a83c8e7
commit be5c65e759

View File

@ -18,7 +18,6 @@ type RouteHandler = (
| unknown;
export class HTTPServer {
private urlRegex = new RegExp(/(http[s]?:\/\/)?([^\/\s]+\/)(.*)/);
private server?: Deno.Listener;
private routes = new Map<string, Route>();
private staticLocalDir?: string;