High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
Update Readme - Modified upload filename to support cli upload command
Alex Tran251c92ff1e6a
diff --git a/README.md b/README.mdindex 1d379421df..b539180745 100644--- a/README.md+++ b/README.md@@ -37,6 +37,7 @@ This project is under heavy development, there will be continous functions, feat- Real-time render from multi-device upload event.- Image Tagging/Classification based on ImageNet dataset- 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)# Developmentdiff --git a/mobile/android/app/src/main/kotlin/com/example/mobile/MainActivity.kt b/mobile/android/app/src/main/kotlin/com/example/mobile/MainActivity.ktnew file mode 100644index 0000000000..5b736d425e--- /dev/null+++ b/mobile/android/app/src/main/kotlin/com/example/mobile/MainActivity.kt@@ -0,0 +1,6 @@+package com.example.mobile++import io.flutter.embedding.android.FlutterActivity++class MainActivity: FlutterActivity() {+}diff --git a/server/src/config/multer-option.config.ts b/server/src/config/multer-option.config.tsindex 2ec36a956d..2cdba58337 100644--- a/server/src/config/multer-option.config.ts+++ b/server/src/config/multer-option.config.ts@@ -33,7 +33,7 @@ export const multerOption: MulterOptions = {},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']}`);},}),};