Closed max-l closed 1 year ago
Unhardcode variables files_dir, location and max_size, with the function tus.create_api_router
from tusserver import tus app.include_router( tus.create_api_router( files_dir='/tmp/filezz', location='http://127.0.0.1:8000/files', max_size=128849018880 ), prefix="/files" )
I will review this and let you know, I will also check the callback functionality to add. Thanks again for your contribution 🙌
Unhardcode variables files_dir, location and max_size, with the function tus.create_api_router