doc: Add comment about urlToPath.

This commit is contained in:
Shibo Lyu 2023-08-13 12:59:55 +08:00 committed by GitHub
parent d55706b414
commit 746f82f593
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,6 +124,8 @@ class S3Storage extends StorageBase {
return new S3(options)
}
// 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) {
return url;
}