Spaces:
Runtime error
Runtime error
Download src/api/integrations/storage/storage.router.ts from oex2003/evolution-api: direct link, hf CLI and curl.
- Browser
- Download file 302 Bytes
-
https://huggingface.co/spaces/oex2003/evolution-api/resolve/main/src/api/integrations/storage/storage.router.ts
- Command line
-
hf download hf://spaces/oex2003/evolution-api/src/api/integrations/storage/storage.router.ts
-
curl -L -o storage.router.ts https://huggingface.co/spaces/oex2003/evolution-api/resolve/main/src/api/integrations/storage/storage.router.ts
302 Bytes
| import { S3Router } from '@api/integrations/storage/s3/routes/s3.router'; | |
| import { Router } from 'express'; | |
| export class StorageRouter { | |
| public readonly router: Router; | |
| constructor(...guards: any[]) { | |
| this.router = Router(); | |
| this.router.use('/s3', new S3Router(...guards).router); | |
| } | |
| } | |