makes POCKETBASE_ENCRYPTION_KEY optional

This commit is contained in:
Christian Beutel
2025-03-28 21:10:50 +01:00
parent aec3452eff
commit 2ce2b5e742
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ func verifySettings() {
encryptionKey := os.Getenv("POCKETBASE_ENCRYPTION_KEY")
if len(encryptionKey) == 0 || len(encryptionKey) < 32 {
log.Fatal("POCKETBASE_ENCRYPTION_KEY not set or is shorter than 32 bytes")
log.Println("POCKETBASE_ENCRYPTION_KEY not set or is shorter than 32 bytes")
}
meiliMasterKey := os.Getenv("MEILI_MASTER_KEY")