mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
Update Readme - Modified upload filename to support cli upload command
This commit is contained in:
parent
135e1a7a7b
commit
251c92ff1e
3 changed files with 8 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
package com.example.mobile
|
||||||
|
|
||||||
|
import io.flutter.embedding.android.FlutterActivity
|
||||||
|
|
||||||
|
class MainActivity: FlutterActivity() {
|
||||||
|
}
|
||||||
|
|
@ -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']}`);
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue