We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 236055d commit 82347ffCopy full SHA for 82347ff
src/core/Lifecycle.ts
@@ -97,7 +97,8 @@ export class Lifecycle extends EventEmitter {
97
await this.handlePlugins(ctx.helper.afterUploadPlugins, ctx)
98
let msg = ''
99
const length = ctx.output.length
100
- const isEncodeOutputURL = ctx.getConfig<Undefinable<boolean>>('settings.encodeOutputURL') !== false
+ // notice, now picgo builtin uploader will encodeOutputURL by default
101
+ const isEncodeOutputURL = ctx.getConfig<Undefinable<boolean>>('settings.encodeOutputURL') === true
102
for (let i = 0; i < length; i++) {
103
if (typeof ctx.output[i].imgUrl !== 'undefined') {
104
msg += isEncodeOutputURL ? handleUrlEncode(ctx.output[i].imgUrl!) : ctx.output[i].imgUrl!
0 commit comments