mirror of
https://github.com/Afilmory/afilmory
synced 2026-04-24 23:05:05 +00:00
feat(config): update site configuration and enhance author handling
- Changed default site name and URL to reflect new branding. - Updated author information in the site configuration, including name, URL, and avatar. - Removed author-related settings from the configuration schema to streamline the setup. - Enhanced the SiteSettingService to resolve author details dynamically based on tenant context. - Added a new endpoint to retrieve the status of photo synchronization, improving user feedback on sync operations. Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
@@ -22,9 +22,11 @@ const closeExiftool = () => {
|
||||
exiftool.end().catch(noop)
|
||||
}
|
||||
|
||||
process.once('beforeExit', closeExiftool)
|
||||
process.once('SIGINT', closeExiftool)
|
||||
process.once('SIGTERM', closeExiftool)
|
||||
if (process.env.NODE_ENV !== 'development') {
|
||||
process.once('beforeExit', closeExiftool)
|
||||
process.once('SIGINT', closeExiftool)
|
||||
process.once('SIGTERM', closeExiftool)
|
||||
}
|
||||
|
||||
// 提取 EXIF 数据
|
||||
export async function extractExifData(imageBuffer: Buffer, originalBuffer?: Buffer): Promise<PickedExif | null> {
|
||||
|
||||
Reference in New Issue
Block a user