more messing about

This commit is contained in:
tsmethurst 2021-08-26 16:57:51 +02:00
commit 3a4b001e58
2 changed files with 65 additions and 7 deletions

View file

@ -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,