remove unused url regex
This commit is contained in:
parent
469a83c8e7
commit
be5c65e759
|
@ -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;
|
||||
|
|
Reference in New Issue
Block a user