mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Remove obsoleted comment
This commit is contained in:
@@ -55,11 +55,6 @@ var PHANTOM_SCRIPT = Assets.getText("phantom_script.js");
|
||||
WebApp.connectHandlers.use(function (req, res, next) {
|
||||
// _escaped_fragment_ comes from Google's AJAX crawling spec:
|
||||
// https://developers.google.com/webmasters/ajax-crawling/docs/specification
|
||||
// This spec was designed during the brief era where using "#!" URLs was
|
||||
// common, so it mostly describes how to translate "#!" URLs into
|
||||
// _escaped_fragment_ URLs. Since then, "#!" URLs have gone out of style, but
|
||||
// the <meta name="fragment" content="!"> (see spiderable.html) approach also
|
||||
// described in the spec is still common and used by several crawlers.
|
||||
if (/\?.*_escaped_fragment_=/.test(req.url) ||
|
||||
_.any(Spiderable.userAgentRegExps, function (re) {
|
||||
return re.test(req.headers['user-agent']); })) {
|
||||
|
||||
Reference in New Issue
Block a user