diff --git a/bin/revsuit_linux_amd64 b/bin/revsuit_linux_amd64 new file mode 100755 index 0000000..daa3b3d Binary files /dev/null and b/bin/revsuit_linux_amd64 differ diff --git a/pkg/rhttp/rule.go b/pkg/rhttp/rule.go index 223e8be..aa10855 100644 --- a/pkg/rhttp/rule.go +++ b/pkg/rhttp/rule.go @@ -15,7 +15,7 @@ type Rule struct { rule.BaseRule `yaml:",inline"` ResponseStatusCode string `gorm:"index;default:200;not null" form:"response_status_code" json:"response_status_code" yaml:"response_status_code"` ResponseHeaders database.MapField `form:"response_headers" json:"response_headers" yaml:"response_headers"` - ResponseBody string `gorm:"default:Hello RevSuit!" form:"response_body" json:"response_body" yaml:"response_body"` + ResponseBody string `gorm:"type:longtext" form:"response_body" json:"response_body" yaml:"response_body"` } func (Rule) TableName() string {