Rocky_Mountain_Vending/.pnpm-store/v10/files/2e/6ea16e18150fdcef1626e730f9f2a9361a71406cf59c1e83f74a1a34e30f693aca8eb305ec829fc338bc90814e0b2c367c1b1885207f5561e6fcea674aabc7
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

27 lines
740 B
Text

/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import BaseGatherer from '../../base-gatherer.js';
class RobotsTxt extends BaseGatherer {
/** @type {LH.Gatherer.GathererMeta} */
meta = {
supportedModes: ['snapshot', 'navigation'],
};
/**
* @param {LH.Gatherer.Context} passContext
* @return {Promise<LH.Artifacts['RobotsTxt']>}
*/
async getArtifact(passContext) {
const {finalDisplayedUrl} = passContext.baseArtifacts.URL;
const robotsUrl = new URL('/robots.txt', finalDisplayedUrl).href;
return passContext.driver.fetcher.fetchResource(robotsUrl)
.catch(err => ({status: null, content: null, errorMessage: err.message}));
}
}
export default RobotsTxt;