refactor!: Change config path env var name

This commit is contained in:
Bendodroid 2024-08-03 21:56:26 +02:00
parent 759787569d
commit 732045645a
2 changed files with 2 additions and 2 deletions

View file

@ -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
```

View file

@ -14,7 +14,7 @@ import (
)
const (
envConfigPath = "CONFIG_PATH"
envConfigPath = "SPACEAPID_CONFIG_PATH"
)
type pathsT []string