Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
index_path = "/home/brandon/.cache/danksearch/index"

# HTTP server listen address
listen_addr = ":43654"
listen_addr = "127.0.0.1:43654"

# Maximum file size to index (in bytes)
max_file_bytes = 2097152 # 2MB
Expand Down
2 changes: 1 addition & 1 deletion internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func Default() *Config {

cfg := &Config{
IndexPath: getDefaultIndexPath(),
ListenAddr: ":43654",
ListenAddr: "127.0.0.1:43654",
MaxFileBytes: 2 * 1024 * 1024,
WorkerCount: workerCount,
IndexAllFiles: true,
Expand Down
Loading