Skip to content

Commit

Permalink
feature: change default SEARCH_COMPONENT_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
cdxker committed Dec 20, 2024
1 parent 98ef056 commit 6e47473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/handlers/page_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ pub async fn public_page(
env::var("ADMIN_DASHBOARD_URL").unwrap_or("https://dashboard.trieve.ai".to_string());

let search_component_url = std::env::var("SEARCH_COMPONENT_URL")
.unwrap_or("https://search-component.trieve.ai/dist".to_string());
.unwrap_or("https://search-component.trieve.ai".to_string());

if config.PUBLIC_DATASET.enabled {
let templ = templates.get_template("page.html").unwrap();
Expand Down

0 comments on commit 6e47473

Please sign in to comment.