Skip to content

Commit 307644a

Browse files
authored
fix: update docs for public url (#141)
1 parent dd35836 commit 307644a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packages/StorageFileApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ export default class StorageFileApi {
397397
}
398398

399399
/**
400-
* Retrieves the URL for an asset in a public bucket.
400+
* A simple convenience function to get the URL for an asset in a public bucket. If you do not want to use this function, you can construct the public URL by concatenating the bucket URL with the path to the asset.
401401
* This function does not verify if the bucket is public. If a public URL is created for a bucket which is not public, you will not be able to download the asset.
402402
*
403403
* @param path The path and name of the file to generate the public URL for. For example `folder/image.png`.

0 commit comments

Comments
 (0)