remove unused url regex
This commit is contained in:
parent
469a83c8e7
commit
be5c65e759
|
@ -18,7 +18,6 @@ type RouteHandler = (
|
||||||
| unknown;
|
| unknown;
|
||||||
|
|
||||||
export class HTTPServer {
|
export class HTTPServer {
|
||||||
private urlRegex = new RegExp(/(http[s]?:\/\/)?([^\/\s]+\/)(.*)/);
|
|
||||||
private server?: Deno.Listener;
|
private server?: Deno.Listener;
|
||||||
private routes = new Map<string, Route>();
|
private routes = new Map<string, Route>();
|
||||||
private staticLocalDir?: string;
|
private staticLocalDir?: string;
|
||||||
|
|
Reference in New Issue
Block a user