fix(basepath): add basepath
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
importScripts("/wasm/ffmpeg-core.js")
|
||||
importScripts(`${process.env.NEXT_PUBLIC_BASE_PATH}/wasm/ffmpeg-core.js`)
|
||||
|
||||
const originalCreateFFmpegCore = self.createFFmpegCore
|
||||
|
||||
self.createFFmpegCore = (moduleOverrides) =>
|
||||
originalCreateFFmpegCore({
|
||||
...moduleOverrides,
|
||||
INITIAL_MEMORY: 268435456,
|
||||
ALLOW_MEMORY_GROWTH: 1,
|
||||
})
|
||||
originalCreateFFmpegCore({
|
||||
...moduleOverrides,
|
||||
INITIAL_MEMORY: 268435456,
|
||||
ALLOW_MEMORY_GROWTH: 1,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user