about summary refs log tree commit diff
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/main.rs b/frontend/src/main.rs
index 6732466..29bdd71 100644
--- a/frontend/src/main.rs
+++ b/frontend/src/main.rs
@@ -17,10 +17,10 @@ enum Route {
 fn switch_routes(routes: Route) -> Html {
     match routes {
         Route::OSSEHome | Route::OSSEHomeEmptySearch => html! {
-            <OSSE api_endpoint={"http://127.0.0.1:4444"} initial_search_query={None as Option<String>} />
+            <OSSE api_endpoint={"/api"} initial_search_query={None as Option<String>} />
         },
         Route::OSSESearch { query } => html! {
-            <OSSE api_endpoint={"http://127.0.0.1:4444"} initial_search_query={Some(query)} />
+            <OSSE api_endpoint={"/api"} initial_search_query={Some(query)} />
         },
     }
 }