Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xray/process.go')
-rw-r--r--xray/process.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xray/process.go b/xray/process.go
index cf894de8..a73ff95f 100644
--- a/xray/process.go
+++ b/xray/process.go
@@ -162,7 +162,7 @@ func (p *process) Start() (err error) {
return common.NewErrorf("Failed to write configuration file: %v", err)
}
- cmd := exec.Command(GetBinaryPath(), "-c", configPath)
+ cmd := exec.Command(GetBinaryPath(), "-c", configPath, "-restrictedIPsPath", "./bin/blockedIPs")
p.cmd = cmd
stdReader, err := cmd.StdoutPipe()