detect new system to register default admin
This commit is contained in:
1 parent
20e9ae19f3
commit
17dd4e9561
6 files changed
+66
-5
No files matched your search
+3
-1
@@ -7,8 +7,10 @@ import (
|
||||
)
|
||||
|
||||
func Setup(app *fiber.App) {
|
||||
// API Handling
|
||||
// Detect if system is new and needs default admin
|
||||
controllers.NewSystem()
|
||||
|
||||
// API Handling
|
||||
var routerPrefix string = "/api/v1"
|
||||
|
||||
// Student Authentication Handler
|
||||
|
||||
Reference in new issue
Block a user