Passport is used for login verification, but the redirect page cannot be rendered after the verification is successful, and all used pictures and js statements cannot be used.

  node.js, question

Passport is used for login verification, but the redirect page cannot be rendered after the verification is successful, and all used pictures and js statements cannot be used.
The following are from app.js
clipboard.png
The normal page is as follows
clipboard.png
This is what happens after passport authentication is used, and the template engine cannot be used.

clipboard.png

The users.js code is as follows
clipboard.png

A little into the dead circle, I hope someone can give me some advice

May I ask if anyone can answer