hotfix: hard-coded URL for chat in dashboard #15
@@ -25,8 +25,8 @@ pub async fn check_auth() -> Result<AuthInfo, ServerFnError> {
|
||||
|
||||
match user_state {
|
||||
Some(u) => {
|
||||
let librechat_url = std::env::var("LIBRECHAT_URL")
|
||||
.unwrap_or_else(|_| "http://localhost:3080".into());
|
||||
let librechat_url =
|
||||
std::env::var("LIBRECHAT_URL").unwrap_or_else(|_| "http://localhost:3080".into());
|
||||
Ok(AuthInfo {
|
||||
authenticated: true,
|
||||
sub: u.sub,
|
||||
|
||||
Reference in New Issue
Block a user