Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add vk.com support for spiderable

This is necessary to allow vk.com to parse shared pages when sharing links.
  • Loading branch information...
commit 07798e694cf8e4693940421e6dfc96431cb72dd1 1 parent f07715d
@svasva authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  packages/spiderable/spiderable.js
View
2  packages/spiderable/spiderable.js
@@ -9,7 +9,7 @@
// not obey the _escaped_fragment_ protocol. The page is served
// statically to any client whos user agent matches any of these
// regexps. (possibly make this list configurable by user).
- var AGENTS = [/^facebookexternalhit/i, /^linkedinbot/i];
+ var AGENTS = [/^facebookexternalhit/i, /^linkedinbot/i, /vkShare/];
// how long to let phantomjs run before we kill it
var REQUEST_TIMEOUT = 15*1000;
Please sign in to comment.
Something went wrong with that request. Please try again.