Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add robots.txt #7435

Merged
merged 1 commit into from
Oct 7, 2023
Merged

feat: add robots.txt #7435

merged 1 commit into from
Oct 7, 2023

Conversation

just-toby
Copy link
Contributor

Description

add a robots.txt file to tell the google crawler NOT to look at certain URLs. also, this helps it differentiate app.uniswap.org urls from top-level domain urls (uniswap.org)

to start, i'm adding a rule to disallow URLs like this:

https://app.uniswap.org/static/js/4.499580c4.chunk.js:2:1396910

since they're giving errors on the google search console

Linear ticket: https://linear.app/uniswap/issue/WEB-2860/add-a-robotstxt

test plan

tested with a robots.txt validator: https://technicalseo.com/tools/robots-txt/

it blocks the /static/js urls as intended and allows others

@just-toby just-toby requested review from JackShort, cbachmeier, kristiehuang and a team October 6, 2023 20:29
@vercel
Copy link

vercel bot commented Oct 6, 2023

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

Name Status Preview Updated (UTC)
interface ✅ Ready (Inspect) Visit Preview Oct 6, 2023 8:30pm

@codecov
Copy link

codecov bot commented Oct 6, 2023

Codecov Report

Merging #7435 (5e54b0a) into main (2c7381f) will not change coverage.
The diff coverage is n/a.

Flag Coverage Δ
cloud-tests 83.60% <ø> (ø)
unit-tests 42.44% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@cypress
Copy link

cypress bot commented Oct 6, 2023

1 flaky test on run #14924 ↗︎

0 118 0 0 Flakiness 1

Details:

feat: add robots.txt
Project: Uniswap Interface Commit: 5e54b0a44e
Status: Passed Duration: 04:41 💡
Started: Oct 6, 2023 8:35 PM Ended: Oct 6, 2023 8:39 PM
Flakiness  cypress/e2e/swap/uniswapx.test.ts • 1 flaky test • e2e

View Output Video

Test Artifacts
UniswapX Orders > renders proper view if uniswapx order has insufficient funds Output Screenshots

Review all test suite changes for PR #7435 ↗︎

@just-toby just-toby merged commit 27ec2e0 into main Oct 7, 2023
@just-toby just-toby deleted the feat/robots branch October 7, 2023 00:09
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.

3 participants