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

Issue 843: Revalidate node path alias instead of node/# #844

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pookmish
Copy link

This pull request is for: (mark with an "x")

  • examples/*
  • [X ] modules/next
  • packages/next-drupal
  • starters/basic-starter
  • starters/graphql-starter
  • starters/pages-starter
  • Other

GitHub Issue: #843
Please add a link to the GitHub issue
where this problem is discussed.

  • I need help adding tests. (mark with an "x")
    Code changes need test coverage. If you don't know
    how to make tests, check this box to ask for help.

Describe your changes

Refactor the parameter on the event to use the url object so that the path alias is revalidated on node insert.

If applicable, add screenshots to help explain your issue.

Copy link

vercel bot commented Feb 27, 2025

@pookmish is attempting to deploy a commit to the Chapter Three Team on Vercel.

A member of the Team first needs to authorize it.

@ksk1kd
Copy link

ksk1kd commented Feb 28, 2025

@pookmish I've confirmed that it works as expected. Looks great!

@yobottehg
Copy link
Contributor

This is most probably related: #460

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