Skip to content

Add dynamic robots.txt from API#1401

Merged
bookernath merged 1 commit intomainfrom
robots
Oct 14, 2024
Merged

Add dynamic robots.txt from API#1401
bookernath merged 1 commit intomainfrom
robots

Conversation

@bookernath
Copy link
Copy Markdown
Contributor

@bookernath bookernath commented Sep 26, 2024

What/Why?

Use new robots.txt node to dynamically populate robots.txt details from control panel, replacing previous hardcoded approach.

We still dynamically insert the sitemap URL based on the env.

Testing

Preview deployment

image

@bookernath bookernath requested a review from a team September 26, 2024 01:42
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Sep 26, 2024

🦋 Changeset detected

Latest commit: cfc87f6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@bigcommerce/catalyst-core Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Copy Markdown

vercel Bot commented Sep 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
catalyst-latest ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2024 2:20pm
6 Skipped Deployments
Name Status Preview Comments Updated (UTC)
catalyst ⬜️ Ignored (Inspect) Oct 14, 2024 2:20pm
catalyst-1millionproducts-store ⬜️ Ignored (Inspect) Visit Preview Oct 14, 2024 2:20pm
catalyst-au ⬜️ Ignored (Inspect) Visit Preview Oct 14, 2024 2:20pm
catalyst-test-store ⬜️ Ignored (Inspect) Visit Preview Oct 14, 2024 2:20pm
catalyst-uk ⬜️ Ignored (Inspect) Visit Preview Oct 14, 2024 2:20pm
catalyst-unstable ⬜️ Ignored (Inspect) Visit Preview Oct 14, 2024 2:20pm

Comment thread core/app/robots.txt/route.ts Outdated
Comment thread core/app/robots.txt/route.ts Outdated
Comment thread core/app/robots.txt/route.ts Outdated
Comment thread core/app/robots.txt/route.ts Outdated
Co-Authored-By: Chancellor Clark <chancellor.clark@bigcommerce.com>
@bookernath bookernath added this pull request to the merge queue Oct 14, 2024
Merged via the queue into main with commit 3095002 Oct 14, 2024
@bookernath bookernath deleted the robots branch October 14, 2024 14:29
@github-actions github-actions Bot mentioned this pull request Oct 14, 2024
@github-actions
Copy link
Copy Markdown
Contributor

⚡️🏠 Lighthouse report

Lighthouse ran against https://catalyst-latest-pwrcqkmd7-bigcommerce-platform.vercel.app

🖥️ Desktop

We ran Lighthouse against the changes on a desktop and produced this report. Here's the summary:

Category Score
🟠 Performance 84
🟢 Accessibility 100
🟢 Best practices 96
🟠 SEO 82

📱 Mobile

We ran Lighthouse against the changes on a mobile and produced this report. Here's the summary:

Category Score
🟢 Performance 98
🟢 Accessibility 100
🟢 Best practices 96
🟠 SEO 85

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants