Skip to content

Commit 3e17be7

Browse files
Fix redirection (#365)
1 parent 59a729b commit 3e17be7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

next.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ module.exports = {
1111
async redirects() {
1212
return [
1313
{
14-
source: '/samples/videoUploadingWebCodecs',
15-
destination: '/samples/videoUploading?videoSource=videoFrame',
14+
source: `${BASE_PATH}/samples/videoUploadingWebCodecs`,
15+
destination: `${BASE_PATH}/samples/videoUploading?videoSource=videoFrame`,
1616
permanent: true,
1717
},
1818
]

0 commit comments

Comments
 (0)