2
0

🐛 (js) Fix upload file in linked typebot

This commit is contained in:
Baptiste Arnaud
2023-03-21 09:11:36 +01:00
parent 4109a8489c
commit b4536abc2f
4 changed files with 104 additions and 44 deletions

View File

@ -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 = {