Bläddra i källkod

feat(settings): include email in default remarkModel pattern

Change the out-of-the-box remarkModel from "-io" (Inbound, Other) to
"-ieo" so newly provisioned panels include the client's email between
the inbound name and the other slot — much easier to identify which
client a generated remark belongs to. Existing installs that have
already written a remarkModel value are unaffected; only first-run /
unset defaults inherit the new pattern.
MHSanaei 14 timmar sedan
förälder
incheckning
8d6d845262
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      web/service/setting.go

+ 1 - 1
web/service/setting.go

@@ -41,7 +41,7 @@ var defaultValueMap = map[string]string{
 	"pageSize":                    "25",
 	"pageSize":                    "25",
 	"expireDiff":                  "0",
 	"expireDiff":                  "0",
 	"trafficDiff":                 "0",
 	"trafficDiff":                 "0",
-	"remarkModel":                 "-io",
+	"remarkModel":                 "-ieo",
 	"timeLocation":                "Local",
 	"timeLocation":                "Local",
 	"tgBotEnable":                 "false",
 	"tgBotEnable":                 "false",
 	"tgBotToken":                  "",
 	"tgBotToken":                  "",