Skip to content

Commit

Permalink
chore: update headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonardo Albuquerque committed Mar 21, 2023
1 parent 44794de commit 83735b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/services/ffmpeg.service.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'sharedarraybuffer';
import { Injectable } from '@angular/core';
import { createFFmpeg, fetchFile } from '@ffmpeg/ffmpeg';

Expand Down Expand Up @@ -60,8 +61,6 @@ export class FfmpegService {
return screenshots;
}

// makerScreenshotCommander(second) {}

async blobFromURL(url: string): Promise<Blob> {
const response = await fetch(url);
const blob = await response.blob();
Expand Down
4 changes: 4 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
"key": "Cross-Origin-Policy",
"value": "same-origin"
},
{
"key": "Cross-Origin-Opener-Policy",
"value": "same-origin"
},
{
"key": "Cross-Origin-Embedder-Policy",
"value": "require-corp"
Expand Down

0 comments on commit 83735b7

Please sign in to comment.