Skip to content

Commit

Permalink
[CreatePhotosSlideshow] Fixes the ffmpeg access to SharedArrayBuffer #25
Browse files Browse the repository at this point in the history
 (#27)
  • Loading branch information
mkhatib authored Dec 7, 2022
1 parent ebc5aee commit 09204cc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/setupProxy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = function (app) {
app.use(function (req, res, next) {
res.setHeader('Cross-Origin-Opener-Policy', 'same-origin');
res.setHeader('Cross-Origin-Embedder-Policy', 'require-corp');
next();
});
};

0 comments on commit 09204cc

Please sign in to comment.