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:
parent
135e1a7a7b
commit
251c92ff1e
@ -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…
Reference in New Issue
Block a user