imporved mobile styling and started dependecy injection for backend

This commit is contained in:
subnub
2024-07-02 12:17:34 -04:00
parent 9bdad8cc94
commit 09cb81f96d
14 changed files with 774 additions and 42 deletions
+3 -2
View File
@@ -8,6 +8,7 @@ import {
createStreamVideoCookie,
removeStreamVideoCookie,
} from "../cookies/createCookies";
import ChunkService from "../services/ChunkService";
const fileService = new FileService();
@@ -34,8 +35,8 @@ type ChunkServiceType = FileSystemService | S3Service;
class FileController {
chunkService: ChunkServiceType;
constructor(chunkService: ChunkServiceType) {
this.chunkService = chunkService;
constructor() {
this.chunkService = new ChunkService();
}
getThumbnail = async (req: RequestTypeFullUser, res: Response) => {