Express: why is this GET request executed twice?
问题 I have some code written in Jade, with a link in it. The destination of the link is generated by Jade. When the link is clicked, I notice from my console that the GET-request is being executed twice. Why is this? How can I fix this? Here is my code: Jade file: ul.media-list each paper in paperList div.panel.panel-default div.panel-body li.media div.media-left.media-middle a(href='/publication/view/#{paper.id}') | Some image div.media-body div.btn-group(role='group') //!!! When this link is