Skip to content

Commit

Permalink
Add 'Web' to OS.get_name() for HTML and UWP exports
Browse files Browse the repository at this point in the history
  • Loading branch information
BearDooks committed Jan 18, 2024
1 parent 9313ef9 commit c943727
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons/godot-firebase/firestore/firestore.gd
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ var auth : Dictionary

var _config : Dictionary = {}
var _cache_loc: String
var _encrypt_key := "5vg76n90345f7w390346" if OS.get_name() in ["HTML5", "UWP"] else OS.get_unique_id()
var _encrypt_key := "5vg76n90345f7w390346" if OS.get_name() in ["HTML5", "UWP", "Web"] else OS.get_unique_id()


var _base_url : String = ""
Expand Down
2 changes: 1 addition & 1 deletion addons/godot-firebase/functions/functions.gd
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var auth : Dictionary

var _config : Dictionary = {}
var _cache_loc: String
var _encrypt_key: String = "" if OS.get_name() in ["HTML5", "UWP"] else OS.get_unique_id()
var _encrypt_key: String = "" if OS.get_name() in ["HTML5", "UWP", "Web"] else OS.get_unique_id()

var _base_url : String = ""

Expand Down

0 comments on commit c943727

Please sign in to comment.