diff --git a/next.config.js b/next.config.js index 44e4c7ed..9b090a1d 100644 --- a/next.config.js +++ b/next.config.js @@ -11,8 +11,8 @@ module.exports = { async redirects() { return [ { - source: '/samples/videoUploadingWebCodecs', - destination: '/samples/videoUploading?videoSource=videoFrame', + source: `${BASE_PATH}/samples/videoUploadingWebCodecs`, + destination: `${BASE_PATH}/samples/videoUploading?videoSource=videoFrame`, permanent: true, }, ]