init offline
This commit is contained in:
parent
4983f71f0e
commit
4bdee904d9
|
@ -111,7 +111,7 @@ func main() {
|
|||
router := httpengine.NewRouter()
|
||||
middleware.InitJwtAuthenticator(service.DefaultService.OpVerifyToken)
|
||||
validator.InitDefaultNotNullValidator()
|
||||
controller.Init(router)
|
||||
controller.InitOffline(router)
|
||||
srv := &http.Server{
|
||||
Addr: fmt.Sprintf("%s:%d", GetIp(), cfg.App.Port),
|
||||
Handler: router,
|
||||
|
|
Loading…
Reference in New Issue