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

Redirect dust.tt/jobs to ashby #9326

Merged
merged 2 commits into from
Dec 12, 2024
Merged

Redirect dust.tt/jobs to ashby #9326

merged 2 commits into from
Dec 12, 2024

Conversation

albandum
Copy link
Contributor

Description

Redirect dust.tt/jobs to ashby

Risk

Deploy Plan

@albandum albandum requested a review from overmode December 12, 2024 14:08
@albandum albandum merged commit 0944b5c into main Dec 12, 2024
3 checks passed
@albandum albandum deleted the alban/jobs-redirect branch December 12, 2024 14:17
@@ -0,0 +1,10 @@
export async function getServerSideProps() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's move this redirect to next.config.js instead

Copy link
Contributor

Choose a reason for hiding this comment

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

About benefits:

  • Performance: Redirects are handled at the edge/server level
  • SEO-friendly: Proper HTTP status codes
  • Flexibility: Supports patterns and dynamic parameters
  • Maintenance: All redirects in one place
  • Build-time validation: Next.js validates the configuration

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