🐛 (js) Fix upload file in linked typebot
This commit is contained in:
@ -13,6 +13,16 @@ const nextConfig = {
|
||||
experimental: {
|
||||
outputFileTracingRoot: path.join(__dirname, '../../'),
|
||||
},
|
||||
async redirects() {
|
||||
return [
|
||||
{
|
||||
source: '/api/typebots/:typebotId/blocks/:blockId/storage/upload-url',
|
||||
destination:
|
||||
'/api/v1/typebots/:typebotId/blocks/:blockId/storage/upload-url',
|
||||
permanent: true,
|
||||
},
|
||||
]
|
||||
},
|
||||
}
|
||||
|
||||
const sentryWebpackPluginOptions = {
|
||||
|
Reference in New Issue
Block a user