Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ページネーションのあるページにアイテムのリストがあります。たとえば、10 ページ目にいて、アイテムを編集したいとします。
更新ボタンをクリックすると、次のコードが実行されます。
res.redirect('back')
しかし、これにより、最後のページではなく、同じページにリダイレクトされます。
ページネーションでそれを行う最良の方法は何ですか?