diff --git a/README.md b/README.md index e24266a..4cace42 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ go build -ldflags '-X main.version=v420.69-rc23' . Set the environment variable to a comma-separated list of config files or pass the `-c` flag. ```shell -env CONFIG_PATH=config-template.json go run . +env SPACEAPID_CONFIG_PATH=config-template.json go run . # OR go run . -c config-credentials.json,config-dynamic.json,config-response.json ``` diff --git a/config/config.go b/config/config.go index 2190837..f9d7bcd 100644 --- a/config/config.go +++ b/config/config.go @@ -14,7 +14,7 @@ import ( ) const ( - envConfigPath = "CONFIG_PATH" + envConfigPath = "SPACEAPID_CONFIG_PATH" ) type pathsT []string