Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
15
node_modules/next/dist/shared/lib/router/utils/html-bots.js
generated
vendored
Normal file
15
node_modules/next/dist/shared/lib/router/utils/html-bots.js
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// This regex contains the bots that we need to do a blocking render for and can't safely stream the response
|
||||
// due to how they parse the DOM. For example, they might explicitly check for metadata in the `head` tag, so we can't stream metadata tags after the `head` was sent.
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "HTML_LIMITED_BOT_UA_RE", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return HTML_LIMITED_BOT_UA_RE;
|
||||
}
|
||||
});
|
||||
const HTML_LIMITED_BOT_UA_RE = /Mediapartners-Google|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti/i;
|
||||
|
||||
//# sourceMappingURL=html-bots.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue