mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 02:57:34 +00:00
fix(config): correcting newline split for multiple user agents (#824)
This commit is contained in:
+2
-2
@@ -23,8 +23,8 @@ function envOrArray(
|
||||
array?: string[]
|
||||
): string[] {
|
||||
return (environment
|
||||
? environment.includes('\n')
|
||||
? environment.split('\n')
|
||||
? environment.includes('\\n')
|
||||
? environment.split('\\n')
|
||||
: environment.split(',')
|
||||
: array ?? []
|
||||
).map((s) => s.trim());
|
||||
|
||||
Reference in New Issue
Block a user