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

FRONT - Routing changes, CloudFront, Route53 options #626

Closed
4 tasks done
adamkendis opened this issue May 19, 2020 · 0 comments · Fixed by #649
Closed
4 tasks done

FRONT - Routing changes, CloudFront, Route53 options #626

adamkendis opened this issue May 19, 2020 · 0 comments · Fixed by #649
Assignees
Labels
Role: DevOps infrastructure, CI or related work Role: Frontend React front end work v1 The first version of the site

Comments

@adamkendis
Copy link
Member

adamkendis commented May 19, 2020

Description

React-router's HashRouter was used to circumvent some gh-pages routing issues. Now that the frontend has been migrated to S3/CloudFront distribution, we have more fine-tuned control over routing and error redirects. The goal is to remove the # from the url so users can navigate straight to the About/Contact pages or refresh the browser on those pages without getting a 403 or 404 error.

Action Items

  • Swap in BrowserRouter for HashRouter.
  • CloudFront - Redirect HTTP to HTTPS.
  • CloudFront - Create custom error responses. On 403/404, respond with /index.html and 200.
  • Route53 - Get www working with domain.

Resources

@adamkendis adamkendis added Role: Frontend React front end work Role: DevOps infrastructure, CI or related work labels May 19, 2020
@adamkendis adamkendis added this to the 311-Data - Beta milestone May 19, 2020
@adamkendis adamkendis self-assigned this May 19, 2020
@Rabia2219 Rabia2219 added the v1 The first version of the site label Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Role: DevOps infrastructure, CI or related work Role: Frontend React front end work v1 The first version of the site
Projects
Development

Successfully merging a pull request may close this issue.

2 participants