mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-13 05:38:47 +01:00
Created InitialSetup method that handles all steps required for starting the server for the first time
This commit is contained in:
parent
398dfd04fc
commit
9e5ffaaff4
6 changed files with 108 additions and 42 deletions
14
consts/consts.go
Normal file
14
consts/consts.go
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
package consts
|
||||
|
||||
import "time"
|
||||
|
||||
const (
|
||||
InitialSetupFlagKey = "InitialSetupKey"
|
||||
|
||||
JWTSecretKey = "JWTSecretKey"
|
||||
JWTIssuer = "CloudSonic"
|
||||
JWTTokenExpiration = 30 * time.Minute
|
||||
|
||||
InitialUserName = "admin"
|
||||
InitialName = "Admin"
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue