From 3e17be7f0fed0c38397815e6593f526dbe3cdafa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Beaufort?= Date: Tue, 5 Mar 2024 18:29:10 +0100 Subject: [PATCH] Fix redirection (#365) --- next.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, }, ]