Skip to content

Commit

Permalink
fix: auto zone cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
YangSen-qn committed Jun 27, 2024
1 parent 21529c6 commit 9494147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QiniuSDK/Common/QNAutoZone.m
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ - (NSString *)makeCacheKey:(QNConfiguration *)config akAndBucket:(NSString *)akA
}
hosts = [NSString stringWithFormat:@"%@:%@", hosts, host];
}
NSString *cacheKey = [NSString stringWithFormat:@"%@:%@", hosts, akAndBucket];
NSString *cacheKey = [NSString stringWithFormat:@"%@:%@", hosts, key];
return [QNUrlSafeBase64 encodeString:cacheKey];
}

Expand Down

0 comments on commit 9494147

Please sign in to comment.