mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
Use the platforms map to set bot
platforms
This commit is contained in:
parent
31798267cc
commit
b2b1a99160
@ -12,7 +12,7 @@ export default [
|
|||||||
test: [/googlebot/i],
|
test: [/googlebot/i],
|
||||||
describe() {
|
describe() {
|
||||||
return {
|
return {
|
||||||
type: 'bot',
|
type: PLATFORMS_MAP.bot,
|
||||||
vendor: 'Google',
|
vendor: 'Google',
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user