mirror of
https://github.com/laosb/ghos3.git
synced 2025-04-30 23:51:08 +00:00
case fix
This commit is contained in:
parent
8bd2130d0e
commit
6eabf8514e
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
// 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
|
// Seealso: https://github.com/laosb/ghos3/pull/6
|
||||||
urlToPath(url) {
|
urlToPath(url) {
|
||||||
const parsedurl = new URL(url);
|
const parsedUrl = new URL(url);
|
||||||
return parsedurl.pathname;
|
return parsedUrl.pathname;
|
||||||
}
|
}
|
||||||
|
|
||||||
async save(image: Image, targetDir?: string) {
|
async save(image: Image, targetDir?: string) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue