Initial commit: Beszel fork with Domain Locker integration

This commit is contained in:
Tomas Dvorak committed 2026-04-21 15:39:43 +02:00
commit 363d708e91
440 files changed
+160889

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
// Package utils provides utility functions for the hub.
package utils
import "os"
// GetEnv retrieves an environment variable with a "BESZEL_HUB_" prefix, or falls back to the unprefixed key.
func GetEnv(key string) (value string, exists bool) {
if value, exists = os.LookupEnv("BESZEL_HUB_" + key); exists {
return value, exists
}
return os.LookupEnv(key)
}