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
The normal page is as follows
This is what happens after passport authentication is used, and the template engine cannot be used.
The users.js code is as follows
A little into the dead circle, I hope someone can give me some advice
May I ask if anyone can answer