mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-29 22:36:14 -06:00
more messing about
This commit is contained in:
parent
2905a13d16
commit
3a4b001e58
2 changed files with 65 additions and 7 deletions
|
|
@ -122,12 +122,6 @@ func New(ctx context.Context, cfg *config.Config, db db.DB, logger *logrus.Logge
|
|||
// create the actual engine here -- this is the core request routing handler for gts
|
||||
engine := gin.New()
|
||||
|
||||
// paths to not log requests to
|
||||
dontLog := []string{
|
||||
// don't print requests to the streaming API to avoid leaking tokens
|
||||
"/api/v1/streaming",
|
||||
}
|
||||
|
||||
// instruct gin to write out to our logger
|
||||
loggingConfig := gin.LoggerConfig{
|
||||
Formatter: logFormatter,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue