ViewMessages->Export Messages. Add Fullpath of the image/audio file.

This commit is contained in:
vinodkiran
2024-02-14 17:04:53 -05:00
parent 85809a9ecc
commit 6acc921095
4 changed files with 56 additions and 3 deletions
+6
View File
@@ -1150,6 +1150,12 @@ export class App {
}
})
this.app.get('/api/v1/get-upload-path', async (req: Request, res: Response) => {
return res.json({
storagePath: getStoragePath()
})
})
// stream uploaded image
this.app.get('/api/v1/get-upload-file', async (req: Request, res: Response) => {
if (!req.query.chatflowId || !req.query.chatId || !req.query.fileName) {