This commit is contained in:
Aditya Patadia 2023-10-26 10:27:59 +05:30
parent 2502973e3d
commit 35b58f064b
No known key found for this signature in database

View file

@ -127,8 +127,8 @@ class S3Storage extends StorageBase {
// Doesn't seem to be documented, but required for using this adapter for other media file types.
// Seealso: https://github.com/laosb/ghos3/pull/6
urlToPath(url) {
const parsedurl = new URL(url);
return parsedurl.pathname;
const parsedUrl = new URL(url);
return parsedUrl.pathname;
}
async save(image: Image, targetDir?: string) {