Skip to content

Commit 624a936

Browse files
committed
Remove user credentials from environment example and clean up server logging
1 parent 54d42ca commit 624a936

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

.env.example

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
# Server configuration
22
SERVER_NAME=BeeAPI Go
33
SERVER_DESCRIPTION=Development Server
4-
5-
# User credentials
6-
USER_ADMIN=admin123
7-
USER_TEST=test123
4+
SERVER_PORT=5000

main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ func main() {
130130
// Run server in a goroutine so it doesn't block
131131
go func() {
132132
log.Printf("Server starting on port %s", port)
133-
log.Printf("API Key: %s", apiKeyManager.GetAPIKey())
134133
if err := srv.ListenAndServe(); err != nil && err != http.ErrServerClosed {
135134
log.Fatalf("Server error: %v", err)
136135
}

0 commit comments

Comments
 (0)