diff --git a/next.config.js b/next.config.js index 9b090a1d..34df58c0 100644 --- a/next.config.js +++ b/next.config.js @@ -8,15 +8,6 @@ module.exports = { basePath: BASE_PATH, compress: true, reactStrictMode: true, - async redirects() { - return [ - { - source: `${BASE_PATH}/samples/videoUploadingWebCodecs`, - destination: `${BASE_PATH}/samples/videoUploading?videoSource=videoFrame`, - permanent: true, - }, - ] - }, webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => { config.module.rules.push({ test: /\.(png|jpe?g|gif|webm)$/i, diff --git a/src/pages/samples/videoUploadingWebCodecs.tsx b/src/pages/samples/videoUploadingWebCodecs.tsx new file mode 100644 index 00000000..80e6ce21 --- /dev/null +++ b/src/pages/samples/videoUploadingWebCodecs.tsx @@ -0,0 +1,16 @@ +import Head from 'next/head'; + +function Page(): JSX.Element { + return ( + + + + ); +} + +export default Page;