You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 7, 2022. It is now read-only.
Looking at AwsS3.js code, I found getUrl and getSignedUrl methods but I couldn't find those methods on LocalFileSystem.js driver. It would be interesting to have a standartized getUrl method across all drivers.
The local driver should accept a baseUrl option in its configuration object to determine the base URL to be preppended in the file being acessed. Drivers that don't support acessing the file through a URL could throw an exception.
To pass additional configuration to the getUrl method (like if the URL should be signed or not or the expiry of link) it could use an options object as a second parameter. Some parameters could be ignored depending on the driver.
We give the power to the user to add a callback method inside their configuration. This method will let you compute the URL with what you need and we will use that to return it inside the LocalStorage driver.
Hi!
Looking at
AwsS3.js
code, I foundgetUrl
andgetSignedUrl
methods but I couldn't find those methods onLocalFileSystem.js
driver. It would be interesting to have a standartizedgetUrl
method across all drivers.The local driver should accept a
baseUrl
option in its configuration object to determine the base URL to be preppended in the file being acessed. Drivers that don't support acessing the file through a URL could throw an exception.To pass additional configuration to the
getUrl
method (like if the URL should be signed or not or the expiry of link) it could use an options object as a second parameter. Some parameters could be ignored depending on the driver.The text was updated successfully, but these errors were encountered: