diff --git a/README.md b/README.md index 8f5f915..242d63b 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,7 @@ list of aliases can be found in [the file](src/constants.js). ### Code Contributors -This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)]. +This project exists thanks to all the people who contribute. [[Contribute](.github/CONTRIBUTING.md)]. ### Financial Contributors diff --git a/src/constants.js b/src/constants.js index db9fda3..9ce0c25 100644 --- a/src/constants.js +++ b/src/constants.js @@ -90,6 +90,7 @@ export const PLATFORMS_MAP = { mobile: 'mobile', desktop: 'desktop', tv: 'tv', + bot: 'bot', }; export const OS_MAP = { diff --git a/src/parser-platforms.js b/src/parser-platforms.js index bb3be8d..15eedac 100644 --- a/src/parser-platforms.js +++ b/src/parser-platforms.js @@ -12,7 +12,7 @@ export default [ test: [/googlebot/i], describe() { return { - type: 'bot', + type: PLATFORMS_MAP.bot, vendor: 'Google', }; },