Update to latest fulgens version
This commit is contained in:
parent
59c05d8248
commit
b8eeb98804
1 changed files with 2 additions and 9 deletions
11
main.go
11
main.go
|
@ -127,7 +127,7 @@ func verifyJwt(token string, publicKey ed25519.PublicKey, conn library.Database)
|
||||||
return claims, true
|
return claims, true
|
||||||
}
|
}
|
||||||
|
|
||||||
func Main(information library.ServiceInitializationInformation) {
|
func Main(information library.ServiceInitializationInformation) *chi.Mux {
|
||||||
var conn library.Database
|
var conn library.Database
|
||||||
gitDir := information.Configuration["gitDir"].(string)
|
gitDir := information.Configuration["gitDir"].(string)
|
||||||
outputDir := information.Configuration["outputDir"].(string)
|
outputDir := information.Configuration["outputDir"].(string)
|
||||||
|
@ -599,12 +599,5 @@ func Main(information library.ServiceInitializationInformation) {
|
||||||
}, "oauth.html", information)
|
}, "oauth.html", information)
|
||||||
})
|
})
|
||||||
|
|
||||||
// Report a successful activation
|
return router
|
||||||
information.Outbox <- library.InterServiceMessage{
|
|
||||||
ServiceID: ServiceInformation.ServiceID,
|
|
||||||
ForServiceID: uuid.MustParse("00000000-0000-0000-0000-000000000001"), // Activation service
|
|
||||||
MessageType: 0,
|
|
||||||
SentAt: time.Now(),
|
|
||||||
Message: router,
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue