Skip to content

Commit

Permalink
config: pass shell env to $STUNMEHS_CONFIG_DIR to load config
Browse files Browse the repository at this point in the history
Signed-off-by: Date Huang <[email protected]>
  • Loading branch information
tjjh89017 committed Sep 30, 2024
1 parent fe240c4 commit 15613cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
const Name = "config"

var Paths []string = []string{
"$STUNMESH_CONFIG_DIR",
"/etc/stunmesh",
"$HOME/.stunmesh",
".",
Expand Down

0 comments on commit 15613cd

Please sign in to comment.