6 lines
208 B
JavaScript
6 lines
208 B
JavaScript
export function resolveUserAgentConfig(input) {
|
|
return {
|
|
...input,
|
|
customUserAgent: typeof input.customUserAgent === "string" ? [[input.customUserAgent]] : input.customUserAgent,
|
|
};
|
|
}
|