mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-03-18 21:50:33 +01:00
crash: render ANSI colors on crash page
Could not for the life of me get any regex to properly strip the ANSI escape sequences, so the text log will have to suffer with them, but the ansihtml library is now used to render them into HTML.
This commit is contained in:
2
go.mod
2
go.mod
@@ -51,7 +51,9 @@ require (
|
||||
github.com/mailgun/mailgun-go/v4 v4.9.0
|
||||
github.com/mattn/go-isatty v0.0.19 // indirect
|
||||
github.com/otiai10/copy v1.7.0 // indirect
|
||||
github.com/pborman/ansi v1.0.0 // indirect
|
||||
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
|
||||
github.com/robert-nix/ansihtml v1.0.1 // indirect
|
||||
github.com/steambap/captcha v1.4.1
|
||||
github.com/swaggo/files v1.0.1
|
||||
github.com/swaggo/gin-swagger v1.6.0
|
||||
|
||||
Reference in New Issue
Block a user