gatsby-source-sanity
Version:
Gatsby source plugin for building websites using Sanity.io as a backend.
13 lines • 412 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const react_1 = require("react");
exports.onRenderBody = ({ setHeadComponents }, config) => {
setHeadComponents([
react_1.createElement('link', {
rel: 'preconnect',
key: 'sanity-cdn-preconnect',
href: 'https://cdn.sanity.io',
}),
]);
};
//# sourceMappingURL=gatsby-ssr.js.map