Skip to content

Commit

Permalink
Remove obsolete code
Browse files Browse the repository at this point in the history
  • Loading branch information
FinlayDaG33k committed Jul 31, 2023
1 parent 82eae58 commit bd86d48
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions webserver/routing/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ import { Controller } from "../controller/controller.ts";
import { Registry } from "../registry/registry.ts";
import { raise } from "../../util/raise.ts";

interface RouteCache {
[key: string]: Module;
}

interface Route {
path: string;
controller: string;
Expand All @@ -24,7 +20,6 @@ export class Router {
private static readonly _controllerDir = `file://${Deno.cwd()}/src/controller`;
private static routes: ChompRoute[] = [];
public static getRoutes() { return Router.routes; }
private static _cache: RouteCache = <RouteCache>{};

/**
* Match the controller and action to a route
Expand Down

0 comments on commit bd86d48

Please sign in to comment.