Skip to content

Commit 216fddc

Browse files
committed
fix: correct WireGuard config generation format string
- Fix fmt.Sprintf argument mismatch in handleProvisionSimple - Remove extra arguments that were causing malformed config output - Config generation now works properly with wg-quick - Add *.conf to .gitignore to exclude test config files
1 parent b10b826 commit 216fddc

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Project-specific
22
CLAUDE.md
33
.claude/
4-
tunnel.conf
4+
wg.conf
55
config.toml
66

77
# Binaries

internal/api/handlers.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,6 @@ func (s *Server) handleProvisionSimple(w http.ResponseWriter, r *http.Request) {
218218
s.cfg.Domain,
219219
s.cfg.Domain,
220220
t.Port,
221-
s.cfg.Domain,
222-
t.Port,
223221
config,
224222
)
225223

0 commit comments

Comments
 (0)