diff options
| author | 2022-12-21 12:06:34 +0100 | |
|---|---|---|
| committer | 2022-12-21 12:06:34 +0100 | |
| commit | 16bc3fd29956678004f82d8dc6e66038ab3c93d0 (patch) | |
| tree | 8a49453398e549449c3f06e35a3f10553e030196 | |
| parent | 57e2b3e73e9cf2ce01f7fc7baed476807342a162 (diff) | |
| download | server-16bc3fd29956678004f82d8dc6e66038ab3c93d0.tar.gz server-16bc3fd29956678004f82d8dc6e66038ab3c93d0.tar.bz2 server-16bc3fd29956678004f82d8dc6e66038ab3c93d0.zip | |
Fix typo in health route
| -rw-r--r-- | ttun_server/__init__.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ttun_server/__init__.py b/ttun_server/__init__.py index 85cdc7d..17a8e7a 100644 --- a/ttun_server/__init__.py +++ b/ttun_server/__init__.py | |||
| @@ -9,13 +9,10 @@ from ttun_server.endpoints import Proxy, Tunnel, Health | |||
| 9 | logging.basicConfig(level=getattr(logging, os.environ.get('LOG_LEVEL', 'INFO'))) | 9 | logging.basicConfig(level=getattr(logging, os.environ.get('LOG_LEVEL', 'INFO'))) |
| 10 | 10 | ||
| 11 | base_router = Router(routes=[ | 11 | base_router = Router(routes=[ |
| 12 | Route('/health/}', Health), | 12 | Route('/health/', Health), |
| 13 | WebSocketRoute('/tunnel/', Tunnel) | 13 | WebSocketRoute('/tunnel/', Tunnel) |
| 14 | ]) | 14 | ]) |
| 15 | 15 | ||
| 16 | proxy_router = Router(routes=[ | ||
| 17 | ]) | ||
| 18 | |||
| 19 | server = Starlette( | 16 | server = Starlette( |
| 20 | debug=True, | 17 | debug=True, |
| 21 | routes=[ | 18 | routes=[ |
