style: auto format
This commit is contained in:
parent
22eec4b834
commit
919d93c384
|
|
@ -10,7 +10,7 @@ const { randUserAgent } = require('@tonyrl/rand-user-agent');
|
|||
* @returns A random useragent for the given specifications.
|
||||
*/
|
||||
module.exports = ({ browser = 'chrome', os = 'mac os', device = 'desktop' }) => {
|
||||
require('@tonyrl/rand-user-agent/data/user-agents.json') // prevent @vercel/nft from removing the file
|
||||
require('@tonyrl/rand-user-agent/data/user-agents.json'); // prevent @vercel/nft from removing the file
|
||||
device = device.toLowerCase();
|
||||
browser = browser.toLowerCase();
|
||||
os = os.toLowerCase();
|
||||
|
|
|
|||
Loading…
Reference in New Issue