mirror of
https://github.com/anotherhadi/spilltea.git
synced 2026-05-20 01:32:33 +02:00
QOL & Security improvement
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -24,6 +24,7 @@ type Config struct {
|
||||
ProjectDir string `mapstructure:"project_dir"`
|
||||
PluginsDir string `mapstructure:"plugins_dir"`
|
||||
UpstreamProxy string `mapstructure:"upstream_proxy"`
|
||||
MaxBodySizeMB int `mapstructure:"max_body_size_mb"`
|
||||
} `mapstructure:"app"`
|
||||
|
||||
TUI struct {
|
||||
|
||||
@@ -5,6 +5,7 @@ app:
|
||||
project_dir: ~/.local/share/spilltea
|
||||
plugins_dir: ~/.config/spilltea/plugins
|
||||
upstream_proxy: "" # e.g. http://corporate-proxy:8888 or http://user:pass@host:8888
|
||||
max_body_size_mb: 50 # max response body size read into memory for large streamed responses (MB)
|
||||
|
||||
intercept:
|
||||
default_intercept_enabled: true
|
||||
|
||||
Reference in New Issue
Block a user