release: v1.2.0 — unified images/ storage and legacy migration
ci / ci (22, ubuntu-latest) (push) Canceled after 0s
Publish Docker image / build (linux/amd64, ubuntu-latest, amd64) (push) Canceled after 0s
Publish Docker image / build (linux/arm64, ubuntu-24.04-arm, arm64) (push) Canceled after 0s
Publish Docker image / merge (push) Canceled after 0s
GitHub Release / release (push) Canceled after 0s
ci / ci (22, ubuntu-latest) (push) Canceled after 0s
Publish Docker image / build (linux/amd64, ubuntu-latest, amd64) (push) Canceled after 0s
Publish Docker image / build (linux/arm64, ubuntu-24.04-arm, arm64) (push) Canceled after 0s
Publish Docker image / merge (push) Canceled after 0s
GitHub Release / release (push) Canceled after 0s
Consolidate local images under data/images/, add docker migrate CLI, startup index sync with orphan cleanup, and remove upload folder UI/API.
This commit is contained in:
1 parent
3dee0437e6
commit
469d3be735
50 files changed
+1273
-956
No files matched your search
@@ -56,12 +56,11 @@ export default defineEventHandler(async (event) => {
|
||||
return easyImageError(415, '无法识别的图片格式')
|
||||
}
|
||||
|
||||
// Twikoo 评论图片单独存放在 twikoo/ 目录下
|
||||
// Twikoo 走 token 上传,记入 activity log source=api
|
||||
const result = await processSingleImageUpload(event, {
|
||||
bytes,
|
||||
filename: imagePart.filename,
|
||||
prefix: 'twikoo',
|
||||
source: 'twikoo'
|
||||
source: 'api'
|
||||
})
|
||||
|
||||
if ('error' in result) {
|
||||
|
||||
Reference in new issue
Block a user