when someone randomly enters an address in the address bar,
I want to judge whether the path he entered is a valid path, jump if it is a valid path, or jump to the home page if it is not a valid path
what if you get all the routes
when someone randomly enters an address in the address bar,
I want to judge whether the path he entered is a valid path, jump if it is a valid path, or jump to the home page if it is not a valid path
what if you get all the routes
add a * when configuring the route, redirect to the home page, and add a sentence to the last
when configuring the route, add a *, redirect to the home page