Open CrypticSignal opened 8 months ago
I was having the issue described but when I changed next config to path you used "/(.*)" the error disappeared!
I also had a look at how you are loading the ffmpeg files and looks like we are doing the same!
The issue I have now is the multithread version is slower than the single thread version lol
I never ended up using this as it crashes on mobile devices for my use case.
I also noticed the multithread url has an extra -mt i didn't notice, but not much improvement seen!
Let me know if you want the source code i had working!
Next.js 13 app deployed using Amplify: https://main.d2hzcewjwit905.amplifyapp.com
When trying to convert a file, a request is made to https://main.d2hzcewjwit905.amplifyapp.com/_next/static/chunks/795.ceab62a43c56068c.js which gives the following error:
I'm not sure how to resolve this. I have set
Cross-Origin-Embedder-Policy
torequire-corp
for all paths innext.config.js
(unlesssource: "/(.*)"
doesn't match all paths? I triedsource: "/"
too and got the same issue).The source code for my project which includes my
next.config.js
file can be found here: https://github.com/CrypticSignal/av-converter-amplifyReproduction steps
After a few seconds, you should see a request being made to https://main.d2hzcewjwit905.amplifyapp.com/_next/static/chunks/795.ceab62a43c56068c.js and the error in the screenshot above.