Skip to content
This repository has been archived by the owner on Jun 24, 2023. It is now read-only.

Commit

Permalink
cmd/dotproxy: Environment variable DOTPROXY_CONFIG for default config…
Browse files Browse the repository at this point in the history
… path
  • Loading branch information
LINKIWI committed Jan 24, 2021
1 parent bba48ae commit 3560fad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/dotproxy/main.go
Expand Up @@ -3,6 +3,7 @@ package main
import (
"flag"
"fmt"
"os"

"dotproxy/internal/log"
"dotproxy/internal/meta"
Expand All @@ -16,7 +17,7 @@ import (
func main() {
configPath := flag.String(
"config",
"config.yaml",
os.Getenv("DOTPROXY_CONFIG"),
"path to the configuration file on disk",
)
version := flag.Bool(
Expand Down

0 comments on commit 3560fad

Please sign in to comment.