From dcee025d373e74f3c415ce239534c99ac8fda291 Mon Sep 17 00:00:00 2001 From: Inian Date: Fri, 13 Jan 2023 14:10:05 +0800 Subject: [PATCH] fix: update docs for public url --- src/packages/StorageFileApi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packages/StorageFileApi.ts b/src/packages/StorageFileApi.ts index 51619c8..a32fd23 100644 --- a/src/packages/StorageFileApi.ts +++ b/src/packages/StorageFileApi.ts @@ -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`.