update set token url

This commit is contained in:
2022-10-16 02:24:36 +08:00
parent 04a0d1084f
commit d98e7fb653

View File

@@ -122,7 +122,7 @@ pub async fn cs_auth(code: String, redirect_url: String, jump_to_url: String, db
.unwrap(); .unwrap();
Redirect::to(format!( Redirect::to(format!(
"{}?token={}", "{}###token={}",
{ {
if env::var("FRONTEND_WHITELIST") if env::var("FRONTEND_WHITELIST")
.unwrap_or_default() .unwrap_or_default()