diff options
author | FChannel <> | 2022-06-04 17:40:24 -0700 |
---|---|---|
committer | FChannel <> | 2022-06-19 12:53:29 -0700 |
commit | e3c83c1ddaea5f42b6fda66d4b86459fd1349b3b (patch) | |
tree | 16108a76b3a868ba9e809c27eb95449e06a0df90 /main.go | |
parent | 5ee6d0a7bb85d7f28fe4f838150c17ecb6a9d1b7 (diff) |
logic corrections for instance creation, would return nil not complete steps
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -122,6 +122,10 @@ func Init() { config.Log.Println(err) } + if err = db.InitInstance(); err != nil { + config.Log.Println(err) + } + if actor, err = activitypub.GetActorFromDB(config.Domain); err != nil { config.Log.Println(err) } @@ -142,10 +146,6 @@ func Init() { config.Log.Println(err) } - if err = db.InitInstance(); err != nil { - config.Log.Println(err) - } - go webfinger.StartupArchive() go util.MakeCaptchas(100) |