Skip to content

Commit

Permalink
Switch to is_web() in utils
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangSenff authored Mar 26, 2024
1 parent 5b3ec67 commit 3be8e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/godot-firebase/storage/storage_reference.gd
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func child(path : String) -> StorageReference:
func put_data(data : PackedByteArray, metadata := {}) -> StorageTask:
if not valid:
return null
if not "Content-Length" in metadata and OS.get_name() != "HTML5":
if not "Content-Length" in metadata and not Utilities.is_web():
metadata["Content-Length"] = data.size()

var headers := []
Expand Down

0 comments on commit 3be8e02

Please sign in to comment.