mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-21 21:02:21 -06:00
refactor: integrations folder
This commit is contained in:
12
src/api/integrations/storage/storage.router.ts
Normal file
12
src/api/integrations/storage/storage.router.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user