mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 05:17:35 +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[]
|
array?: string[]
|
||||||
): string[] {
|
): string[] {
|
||||||
return (environment
|
return (environment
|
||||||
? environment.includes('\n')
|
? environment.includes('\\n')
|
||||||
? environment.split('\n')
|
? environment.split('\\n')
|
||||||
: environment.split(',')
|
: environment.split(',')
|
||||||
: array ?? []
|
: array ?? []
|
||||||
).map((s) => s.trim());
|
).map((s) => s.trim());
|
||||||
|
|||||||
Reference in New Issue
Block a user