File tree Expand file tree Collapse file tree
addons/godot-firebase/firebase Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,8 +15,6 @@ const _ENVIRONMENT_VARIABLES : String = "firebase/environment_variables"
1515const _EMULATORS_PORTS : String = "firebase/emulators/ports"
1616const _AUTH_PROVIDERS : String = "firebase/auth_providers"
1717
18- @export_global_file ("*.env" ) var EnvPath : String
19-
2018## @type FirebaseAuth
2119## The Firebase Authentication API.
2220@onready var Auth : FirebaseAuth = $ Auth
@@ -101,7 +99,7 @@ func _check_emulating() -> void:
10199func _load_config () -> void :
102100 if not (_config .apiKey != "" and _config .authDomain != "" ):
103101 var env = ConfigFile .new ()
104- var err = env .load ("res://addons/godot-firebase/.env" if EnvPath == "" else EnvPath )
102+ var err = env .load ("res://addons/godot-firebase/.env" )
105103 if err == OK :
106104 for key in _config .keys ():
107105 var config_value = _config [key ]
You can’t perform that action at this time.
0 commit comments