Url routing address such as: localhost:4200/-sharp/test does not require token verification, go directly to the TestComponent component

problem description

@ delon/auth
{provide: HTTP_INTERCEPTORS, useClass: SimpleInterceptor, multi: true},
enter the routing page, you will be authenticated by token. If you jump to the login page without token, the requirement now is a separate page that does not require user login. You can enter

directly through the routing address.

the environmental background of the problems and what methods you have tried

clipboard.png
the configuration information overridden method provided in the delon document has no effect after use

related codes

/ / Please paste the code text below (do not replace the code with pictures)
export function delonAuthConfig (): DelonAuthConfig {
return Object.assign (new DelonAuthConfig (), < DelonAuthConfig > {

login_url: "/passport/login",
token_send_place: "header",
// token_send_template: "Bearer ${token}",
token_send_key: "Authorization",
/**
 * TOKENURL:[ /\/login/, /assets\//, /passport\// ]
 */
ignores: [/\/test/],
/**
 * KEYKEYTOKEN
 */
allow_anonymous_key: "_allow_anonymous",

});
}

what result do you expect? What is the error message actually seen?

Don"t log in, go to the routing page

Aug.27,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf286a-31de2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf286a-31de2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?