Skip to content

Commit 30c3029

Browse files
Fix attempt to export env file
1 parent 5ae050f commit 30c3029

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

addons/godot-firebase/firebase/firebase.gd

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ const _ENVIRONMENT_VARIABLES : String = "firebase/environment_variables"
1515
const _EMULATORS_PORTS : String = "firebase/emulators/ports"
1616
const _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:
10199
func _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]

0 commit comments

Comments
 (0)