1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-22 01:47:08 +02:00

Update Readme - Modified upload filename to support cli upload command

This commit is contained in:
Alex Tran 2022-03-07 11:39:54 -06:00
parent 135e1a7a7b
commit 251c92ff1e
3 changed files with 8 additions and 1 deletions

View File

@ -37,6 +37,7 @@ This project is under heavy development, there will be continous functions, feat
- Real-time render from multi-device upload event. - Real-time render from multi-device upload event.
- Image Tagging/Classification based on ImageNet dataset - Image Tagging/Classification based on ImageNet dataset
- Search assets based on tags and exif data (lens, make, model, orientation) - Search assets based on tags and exif data (lens, make, model, orientation)
- Upload assets from your local computer/server using [immich cli tools](https://www.npmjs.com/package/immich)
# Development # Development

View File

@ -0,0 +1,6 @@
package com.example.mobile
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}

View File

@ -33,7 +33,7 @@ export const multerOption: MulterOptions = {
}, },
filename: (req: Request, file: Express.Multer.File, cb: any) => { filename: (req: Request, file: Express.Multer.File, cb: any) => {
cb(null, `${file.originalname}${req.body['fileExtension']}`); cb(null, `${file.originalname.split('.')[0]}${req.body['fileExtension']}`);
}, },
}), }),
}; };