mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-10-29 06:31:56 +00:00
lua: revert stdin check
This commit is contained in:
1 parent
03ee3f872f
commit
bba0ae39d1
2 files changed
+5
-2
No files matched your search
Vendored
+1
-1
@@ -30,7 +30,7 @@ func ConfigLoader(arg string) (out io.Reader, err error) {
|
||||
data, err = FetchHTTPContent(arg)
|
||||
|
||||
case arg == "stdin:":
|
||||
data, err = readConfigFile(os.Stdin)
|
||||
data, err = io.ReadAll(os.Stdin)
|
||||
|
||||
default:
|
||||
file, openErr := os.Open(arg)
|
||||
|
||||
Reference in new issue
Block a user