mirror of
https://github.com/fankes/beszel.git
synced 2025-10-19 01:39:34 +08:00
remove fallback pub key
This commit is contained in:
@@ -320,8 +320,7 @@ func main() {
|
|||||||
if pubKeyEnv, exists := os.LookupEnv("KEY"); exists {
|
if pubKeyEnv, exists := os.LookupEnv("KEY"); exists {
|
||||||
pubKey = []byte(pubKeyEnv)
|
pubKey = []byte(pubKeyEnv)
|
||||||
} else {
|
} else {
|
||||||
pubKey = []byte("ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJgPK8kpPOwPFIq6BIa7Bu/xwrjt5VRQCz3az3Glt4jp")
|
log.Fatal("KEY environment variable is not set")
|
||||||
// log.Fatal("KEY environment variable is not set")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if filesystem, exists := os.LookupEnv("FILESYSTEM"); exists {
|
if filesystem, exists := os.LookupEnv("FILESYSTEM"); exists {
|
||||||
|
Reference in New Issue
Block a user