Skip to content

Commit

Permalink
fix: update docs for public url (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
inian authored Jan 13, 2023
1 parent dd35836 commit 307644a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packages/StorageFileApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ export default class StorageFileApi {
}

/**
* Retrieves the URL for an asset in a public bucket.
* 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.
* 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.
*
* @param path The path and name of the file to generate the public URL for. For example `folder/image.png`.
Expand Down

0 comments on commit 307644a

Please sign in to comment.