The parameter routing of nodejs+express is as follows:
To be able to route http://127.0.0.1:3000/login?targetUrl=/api-sso/user/findByLoginName address
In the picture below, the red box configuration is that the desired login page cannot be routed.
Specifically in the initialization route:
Add in the following method:
Just