file upload

This commit is contained in:
Peter Maquiran
2024-01-30 11:35:45 +01:00
parent cbb7657b90
commit 76b0046a22
8 changed files with 53 additions and 154 deletions
@@ -48,6 +48,9 @@ export class CMAPIService {
await this.CMAPIAPIService.getVideoHeader(url).toPromise()
return ok(true)
} catch(error) {
if(error.status == 405) {
return ok(true)
}
return err(false)
}