-1

Hey I am migrating to v3 rn. Im having issues with the custom endpoints.

previously i could use path: '/find-by-path/*'. So i had a wildcard in the end of my path that i could use to capture the rest of the slugs via the route.params.

This doesnt work in v3.

No matter what im trying to do I get a Unexpected MODIFIER at 5, expected END With 5 being the pos of the '*' in the path.

I sadly couldnt find any information out there. Official docs never mention wildcards.

Any help apprecieted

Best Regards, Jan

1 Answer 1

0

I got an answer on the github issue I made for this.

/path/(.*) does the same as /path/* did.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.