mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
Revert "feat(constants): add bot as a platform (#540)"
This reverts commit 69928b992f
.
This commit is contained in:
parent
69928b992f
commit
6f9d6bfb9d
@ -149,7 +149,7 @@ list of aliases can be found in [the file](src/constants.js).
|
|||||||
|
|
||||||
### Code Contributors
|
### Code Contributors
|
||||||
|
|
||||||
This project exists thanks to all the people who contribute. [[Contribute](.github/CONTRIBUTING.md)].
|
This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
|
||||||
<a href="https://github.com/lancedikson/bowser/graphs/contributors"><img src="https://opencollective.com/bowser/contributors.svg?width=890&button=false" /></a>
|
<a href="https://github.com/lancedikson/bowser/graphs/contributors"><img src="https://opencollective.com/bowser/contributors.svg?width=890&button=false" /></a>
|
||||||
|
|
||||||
### Financial Contributors
|
### Financial Contributors
|
||||||
|
@ -88,7 +88,6 @@ export const PLATFORMS_MAP = {
|
|||||||
mobile: 'mobile',
|
mobile: 'mobile',
|
||||||
desktop: 'desktop',
|
desktop: 'desktop',
|
||||||
tv: 'tv',
|
tv: 'tv',
|
||||||
bot: 'bot',
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export const OS_MAP = {
|
export const OS_MAP = {
|
||||||
|
@ -12,7 +12,7 @@ export default [
|
|||||||
test: [/googlebot/i],
|
test: [/googlebot/i],
|
||||||
describe() {
|
describe() {
|
||||||
return {
|
return {
|
||||||
type: PLATFORMS_MAP.bot,
|
type: 'bot',
|
||||||
vendor: 'Google',
|
vendor: 'Google',
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user