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

fix: Redirect docs.eslint.org and cn.eslint.org #369

Merged
merged 1 commit into from
Nov 12, 2022
Merged

Conversation

nzakas
Copy link
Member

@nzakas nzakas commented Nov 11, 2022

This change ensures that docs.eslint.org and cn.eslint.org redirect to the correct place.

DNS is set up so that both docs.eslint.org and cn.eslint.org point to eslint.org. The intended outcome is that entering either of these two domain names will result in a redirect to the correct location.

docs.eslint.org should redirect to eslint.org/docs/latest/
cn.eslint.org should redirect to zh-hans.eslint.org

Fixes #368

docs.eslint.org should redirect to eslint.org/docs/latest/
cn.eslint.org should redirect to zh-hans.eslint.org

Fixes #368
@eslint-github-bot eslint-github-bot bot added bug Something isn't working triage labels Nov 11, 2022
@netlify
Copy link

netlify bot commented Nov 11, 2022

Deploy Preview for ja-eslint ready!

Name Link
🔨 Latest commit 7e6941d
🔍 Latest deploy log https://app.netlify.com/sites/ja-eslint/deploys/636eb699abca260009ccd926
😎 Deploy Preview https://deploy-preview-369--ja-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Nov 11, 2022

Deploy Preview for fr-eslint ready!

Name Link
🔨 Latest commit 7e6941d
🔍 Latest deploy log https://app.netlify.com/sites/fr-eslint/deploys/636eb6991690ed0008da241b
😎 Deploy Preview https://deploy-preview-369--fr-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Nov 11, 2022

Deploy Preview for hi-eslint ready!

Name Link
🔨 Latest commit 7e6941d
🔍 Latest deploy log https://app.netlify.com/sites/hi-eslint/deploys/636eb69956532f000850aff9
😎 Deploy Preview https://deploy-preview-369--hi-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Nov 11, 2022

Deploy Preview for pt-br-eslint ready!

Name Link
🔨 Latest commit 7e6941d
🔍 Latest deploy log https://app.netlify.com/sites/pt-br-eslint/deploys/636eb699fb8b56000951abfc
😎 Deploy Preview https://deploy-preview-369--pt-br-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Nov 11, 2022

Deploy Preview for new-eslint ready!

Name Link
🔨 Latest commit 7e6941d
🔍 Latest deploy log https://app.netlify.com/sites/new-eslint/deploys/636eb6995401f60008ff7fe3
😎 Deploy Preview https://deploy-preview-369--new-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Nov 11, 2022

Deploy Preview for es-eslint ready!

Name Link
🔨 Latest commit 7e6941d
🔍 Latest deploy log https://app.netlify.com/sites/es-eslint/deploys/636eb699827c430009a36980
😎 Deploy Preview https://deploy-preview-369--es-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Nov 11, 2022

Deploy Preview for zh-hans-eslint ready!

Name Link
🔨 Latest commit 7e6941d
🔍 Latest deploy log https://app.netlify.com/sites/zh-hans-eslint/deploys/636eb69937af650008d5b36c
😎 Deploy Preview https://deploy-preview-369--zh-hans-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Nov 11, 2022

Deploy Preview for de-eslint ready!

Name Link
🔨 Latest commit 7e6941d
🔍 Latest deploy log https://app.netlify.com/sites/de-eslint/deploys/636eb69ab09b5e0009e46b61
😎 Deploy Preview https://deploy-preview-369--de-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@snitin315 snitin315 added accepted and removed triage labels Nov 12, 2022
Copy link
Contributor

@snitin315 snitin315 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@snitin315 snitin315 merged commit 6028245 into main Nov 12, 2022
@snitin315 snitin315 deleted the cn-docs-redirects branch November 12, 2022 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Redirect cn.eslint.org to zh-hans.eslint.org site
2 participants