Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.

Commit 249ed2c

Browse files
authored
fix: moved publicUrl comment (#1327)
* Moved publicUrl comment * Added space after // for publicUrl
1 parent 13a064f commit 249ed2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/file.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3073,8 +3073,8 @@ class File extends ServiceObject<File> {
30733073
* const bucket = storage.bucket('albums');
30743074
* const file = bucket.file('my-file');
30753075
*
3076+
* // publicUrl will be "https://storage.googleapis.com/albums/my-file"
30763077
* const publicUrl = file.publicUrl();
3077-
* // publicUrl will be "https://storage.googleapis.com/albums/my-file"
30783078
*/
30793079
publicUrl(): string {
30803080
return `${this.storage.apiEndpoint}/${this.bucket.name}/${this.name}`;

0 commit comments

Comments
 (0)