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

Add automatic redirects to examples for netlify previews #768

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

owenatgov
Copy link
Contributor

@owenatgov owenatgov commented Dec 11, 2024

What it says on the tin. Adds a netlify.toml that only contains the redirect from "/" to "/examples". Used only for netlify previews right now so that folks not in the know aren't wondering why the root of the preview doesn't show anything.

Copy link

netlify bot commented Dec 11, 2024

Deploy Preview for accessible-autocomplete ready!

Name Link
🔨 Latest commit 5d4b6ea
🔍 Latest deploy log https://app.netlify.com/sites/accessible-autocomplete/deploys/67595a02e951f40008c03c8e
😎 Deploy Preview https://deploy-preview-768--accessible-autocomplete.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 configuration.

@owenatgov owenatgov force-pushed the add-netlify-redirect-for-examples branch from abfd1ec to 5d4b6ea Compare December 11, 2024 09:23
@owenatgov owenatgov changed the title WIP Add automatic redirects to examples for netlify previews Dec 11, 2024
@owenatgov owenatgov requested a review from a team December 11, 2024 09:24
Copy link
Contributor

@domoscargin domoscargin left a comment

Choose a reason for hiding this comment

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

Noice!

@owenatgov owenatgov merged commit 96bf629 into main Dec 11, 2024
7 checks passed
@owenatgov owenatgov deleted the add-netlify-redirect-for-examples branch December 11, 2024 11:14
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