]> git.r.bdr.sh - rbdr/mobius/commitdiff
If no predefined default path for server config, look in the current dir
authorCharlotte Koch <redacted>
Sun, 2 Jun 2024 01:29:33 +0000 (18:29 -0700)
committerJeff Halter <redacted>
Sun, 2 Jun 2024 04:08:26 +0000 (21:08 -0700)
cmd/mobius-hotline-server/main.go

index 7d3bf2796d7f4a1f6fc5b8fdc521c795a53662f9..2bda39bf3a1bbfeebd8963bc5b7ab1df43989da3 100644 (file)
@@ -182,7 +182,7 @@ func defaultConfigPath() (cfgPath string) {
        case "linux":
                cfgPath = "/usr/local/var/mobius/config/"
        default:
-               fmt.Printf("unsupported OS")
+               cfgPath = "./config/"
        }
 
        return cfgPath