feat: add env to skip installation #357

This commit is contained in:
Jacky 2024-05-06 21:45:16 +08:00
parent cb0fb47e1c
commit 13c4eb04a3
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
5 changed files with 22 additions and 1 deletions

View file

@ -13,7 +13,7 @@ import (
)
func installLockStatus() bool {
return "" != settings.ServerSettings.JwtSecret
return settings.ServerSettings.SkipInstallation || "" != settings.ServerSettings.JwtSecret
}
func InstallLockCheck(c *gin.Context) {