Skip to content

Commit ee39679

Browse files
author
Marek Safarik
committed
Edit after review
Signed-off-by: Marek Safarik <[email protected]>
1 parent a22ea4b commit ee39679

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ dist/
66
*.out
77

88
# Go
9-
*.exe
10-
*.test
9+
backend/server
1110

1211
# Environment
1312
.env

backend/main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import (
55
"log"
66
"net/http"
77
"os"
8+
"path/filepath"
89

910
"github.com/joho/godotenv"
1011
"github.com/modelcontextprotocol/go-sdk/mcp"
@@ -58,7 +59,7 @@ func main() {
5859
}
5960

6061
func loadConfig() {
61-
certDir := getEnv("KEYLIME_CERT_DIR", "/home/msafarik/.keylime/certs") // TODO: Make this configurable or better way to set this (just for debugging purposes)
62+
certDir := getEnv("KEYLIME_CERT_DIR", filepath.Join(os.Getenv("HOME"), ".keylime/certs")) // TODO: Make this configurable or better way to set this
6263

6364
config = Config{
6465
VerifierURL: getEnv("KEYLIME_VERIFIER_URL", "https://localhost:8881"),

backend/server

-11.2 MB
Binary file not shown.

0 commit comments

Comments
 (0)