mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 13:04:02 +03:00
Support default dc idx from configs
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ func Start(conf *config.Config) error {
|
||||
}
|
||||
|
||||
interm := map[string]interface{}{}
|
||||
json.Unmarshal(first, &interm) // nolint: errcheck
|
||||
json.Unmarshal(first, &interm) // nolint: errcheck, gosec
|
||||
|
||||
encoder := json.NewEncoder(w)
|
||||
encoder.SetEscapeHTML(false)
|
||||
|
||||
Reference in New Issue
Block a user