fix: use only host

This commit is contained in:
Fu Zi Xiang 2023-11-22 15:37:19 +08:00
parent 4a091f616b
commit 2da1582568
No known key found for this signature in database
1 changed files with 5 additions and 1 deletions

View File

@ -244,7 +244,11 @@ pub async fn login_handler(
.sign_up_with_referrer(
&param.email,
&param.password,
Some(&get_base_url(&header_map)),
Some(&get_header_value_or_default(
&header_map,
"host",
"localhost",
)),
)
.await;