Changed Endpoint

This commit is contained in:
Kristian Krsnik 2024-08-05 10:30:45 +02:00
parent 09473e1050
commit f209e0e452
Signed by: Kristian
GPG Key ID: FD1330AC9F909E85

View File

@ -43,7 +43,7 @@ class MinSizePerRequestError(Exception):
pass
@api.get('/')
@api.get('/zeros')
async def test_data(api_key: str, size: str) -> StreamingResponse:
try:
if api_key not in AUTHORIZED_KEYS: