planetary-social / rooms-frontend

MIT License
4 stars 2 forks source link

Configure conflicting alias route #27

Closed chereseeriepa closed 2 years ago

chereseeriepa commented 2 years ago

Problem: Two routers have conflicting routes at /alias/{alias}

We have two routers routing to the same route /alias:

Solutions:

chereseeriepa commented 2 years ago

Possible changes:

Since we dont need the latter from the go router

chereseeriepa commented 2 years ago

Mix says:

Options:

  1. We can side step civic.love/alias/cherese by going to civic.love/profile/alias/cherese or something similar. Then nginx can redirect cherese.civic.love to this route instead
  2. /profile/cherese?alias=true