From 84d66c598f2071a0db4c0c5ab6920bfd59b8189b Mon Sep 17 00:00:00 2001 From: brian Date: Sun, 19 Nov 2023 18:39:28 -0500 Subject: [PATCH] Small fix --- app/page.tsx | 34 +--------------------------------- lib/types.ts | 2 +- 2 files changed, 2 insertions(+), 34 deletions(-) diff --git a/app/page.tsx b/app/page.tsx index 2c54c63..e63bab1 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -20,41 +20,9 @@ export default function Home() { if (error) return if (isLoading) return - let route = { - "handle": [ - { - "handler": "subroute", - "routes": [ - { - "handle": [ - { - "handler": "reverse_proxy", - "upstreams": [ - { - "dial": "1.1.1.1" - } - ] - } - ] - } - ] - } - ], - "match": [ - { - "host": [ - "containers.grug.dev", - "containers.daddyimpregnant.com", - "containers.mizuledevelopment.com" - ] - } - ], - "terminal": true - } - return (
- {routeDialog && } + {routeDialog && }
diff --git a/lib/types.ts b/lib/types.ts index c4ff3c1..8d33018 100644 --- a/lib/types.ts +++ b/lib/types.ts @@ -16,7 +16,7 @@ interface Match { interface Handle { handler: string; upstreams: Upstream[]; - routes: Route[]; + routes?: Route[]; } interface Upstream {