mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 02:57:34 +00:00
fix: properly pass array entries as separate indices (#1502)
This commit is contained in:
+6
-3
@@ -387,8 +387,10 @@ const store = {
|
||||
'xboxss',
|
||||
'xboxsx'
|
||||
]),
|
||||
stores: envOrArray(process.env.STORES, ['amazon,bestbuy']).map((entry) => {
|
||||
const [name, minPageSleep, maxPageSleep] = entry.match(/[^:]+/g) ?? [];
|
||||
stores: envOrArray(process.env.STORES, ['amazon', 'bestbuy']).map(
|
||||
(entry) => {
|
||||
const [name, minPageSleep, maxPageSleep] =
|
||||
entry.match(/[^:]+/g) ?? [];
|
||||
|
||||
let proxyList;
|
||||
try {
|
||||
@@ -415,7 +417,8 @@ const store = {
|
||||
name: envOrString(name),
|
||||
proxyList
|
||||
};
|
||||
})
|
||||
}
|
||||
)
|
||||
};
|
||||
|
||||
export const defaultStoreData = {
|
||||
|
||||
Reference in New Issue
Block a user