fix: load config before db

This commit is contained in:
Derrick Hammer 2023-04-30 02:10:52 -04:00
parent 9a4c3d5d13
commit 58165e01af
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 3 deletions

View File

@ -16,12 +16,12 @@ import (
var embedFrontend embed.FS var embedFrontend embed.FS
func main() { func main() {
// Initialize the database connection
db.Init()
// Initialize the configuration settings // Initialize the configuration settings
config.Init() config.Init()
// Initialize the database connection
db.Init()
// Create a new Iris app instance // Create a new Iris app instance
app := iris.New() app := iris.New()