Skip to content

Commit

Permalink
🐛 Fix(custom): fix custom prefix bug of advanced picbed
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuingsmile committed Dec 27, 2024
1 parent 0bb39bf commit 4a58a89
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/uploader/advancedplist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,9 @@ const handle = async (ctx: IPicGo): Promise<IPicGo> => {
delete img.buffer
if (advancedplistConfig.customPrefix) {
img.imgUrl = advancedplistConfig.customPrefix + imageUrl
} else {
img.imgUrl = imageUrl
}
img.imgUrl = imageUrl
} else {
ctx.emit(IBuildInEvent.NOTIFICATION, {
title: ctx.i18n.translate<ILocalesKey>('UPLOAD_FAILED'),
Expand Down

0 comments on commit 4a58a89

Please sign in to comment.