hotfix: hard-coded URL for chat in dashboard #15

Merged
sharang merged 5 commits from feat/librechat-integration into main 2026-02-24 11:52:59 +00:00
Showing only changes of commit 0d86a34ab1 - Show all commits

View File

@@ -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,