mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 10:25:52 +02:00
feat: add env to skip installation #357
This commit is contained in:
parent
cb0fb47e1c
commit
13c4eb04a3
5 changed files with 22 additions and 1 deletions
|
@ -13,7 +13,7 @@ import (
|
|||
)
|
||||
|
||||
func installLockStatus() bool {
|
||||
return "" != settings.ServerSettings.JwtSecret
|
||||
return settings.ServerSettings.SkipInstallation || "" != settings.ServerSettings.JwtSecret
|
||||
}
|
||||
|
||||
func InstallLockCheck(c *gin.Context) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue