This commit is contained in:
@@ -204,15 +204,16 @@ func createFiberApp(cfg *config.Config, appLogger *zap.Logger) *fiber.App {
|
||||
registerTimeParserCompat()
|
||||
|
||||
return fiber.New(fiber.Config{
|
||||
AppName: "君鸿卡管系统 v1.0.0",
|
||||
StrictRouting: true,
|
||||
CaseSensitive: true,
|
||||
JSONEncoder: sonic.Marshal,
|
||||
JSONDecoder: sonic.Unmarshal,
|
||||
Prefork: cfg.Server.Prefork,
|
||||
ReadTimeout: cfg.Server.ReadTimeout,
|
||||
WriteTimeout: cfg.Server.WriteTimeout,
|
||||
ErrorHandler: internalMiddleware.ErrorHandler(appLogger),
|
||||
AppName: "君鸿卡管系统 v1.0.0",
|
||||
StrictRouting: true,
|
||||
CaseSensitive: true,
|
||||
JSONEncoder: sonic.Marshal,
|
||||
JSONDecoder: sonic.Unmarshal,
|
||||
EnableSplittingOnParsers: true,
|
||||
Prefork: cfg.Server.Prefork,
|
||||
ReadTimeout: cfg.Server.ReadTimeout,
|
||||
WriteTimeout: cfg.Server.WriteTimeout,
|
||||
ErrorHandler: internalMiddleware.ErrorHandler(appLogger),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user