cofacts / rumors-site

Rumors list / creation UI, with server-side rendering
https://cofacts.tw
MIT License
83 stars 49 forks source link

fix: router redirect when no id and no slug #582

Closed belong112 closed 1 week ago

belong112 commented 1 week ago

When entering user page without id and without slug (/user/), it will redirect to /user?id={userId}

coveralls commented 1 week ago

Coverage Status

coverage: 71.733%. remained the same when pulling 0b56fe0b4b4ffd76b1f766aa91c6fcb666686cf4 on belong112:bugfix/issue563 into 617e79a483ffc78a6c474997bd10e43313728765 on cofacts:master.

belong112 commented 1 week ago

Oops, I misunderstood issue #563. I will close this PR and rethink the solution.

MrOrz commented 1 week ago

Ohh I see that you want to tackle with #563. How about performing the redirect when the user finish the removal of slug?

belong112 commented 1 week ago

No problem, I will start a new PR.