0

What configurations are required in my routes to handle the query parameter userActivity for a URL like https://somesite.com/feedpool?userActivity=false?

I'm using Vite as a build tool, with the base URL set to feedpool. When I enter the query parameter without any route configuration, the page displays an error: "The server is configured with a public base URL of /feedpool/ - did you mean to visit /feedpool/feedpool?userActivity=false instead?"

3
  • what happens if you go to https://somesite.com/feedpool/?userActivity=false Commented Jul 8, 2024 at 7:00
  • From memory you cannot perform routing based on query params. But you can read them on any page using route.query Commented Jul 8, 2024 at 7:04
  • with the base URL set to feedpool clearly you've set it to /feedpool/ perhaps set it to /feedpool (but yeah, nothing to do with routing) Commented Jul 8, 2024 at 7:07

0

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.