about summary refs log tree commit diff
path: root/frontend
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-10-28 10:43:14 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-10-28 10:43:14 +0200
commitd3f66edbd84a6b462b08ca2e260a1dbb1ba4b730 (patch)
treec319a9b6e078c696d04bbef85c600d1b405ee25b /frontend
parentFrontend: Html: Set footer at the bottom of the page (diff)
downloadOSSE-d3f66edbd84a6b462b08ca2e260a1dbb1ba4b730.tar.gz
OSSE-d3f66edbd84a6b462b08ca2e260a1dbb1ba4b730.tar.bz2
OSSE-d3f66edbd84a6b462b08ca2e260a1dbb1ba4b730.zip
Misc: Add TODOs
Diffstat (limited to 'frontend')
-rw-r--r--frontend/src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontend/src/main.rs b/frontend/src/main.rs
index a492636..27c30da 100644
--- a/frontend/src/main.rs
+++ b/frontend/src/main.rs
@@ -97,6 +97,7 @@ fn osse() -> Html {
                 let cloned_state = cloned_state.clone();
                 wasm_bindgen_futures::spawn_local(async move {
                     let mut state = cloned_state.deref().clone();
+                    //TODO: what if its on another host
                     let endpoint = format!("http://127.0.0.1:4444/search/{}", &state.search_query);
 
                     let fetched_results = Request::get(endpoint.as_str()).send().await.unwrap();
@@ -132,6 +133,7 @@ fn osse() -> Html {
                         </div>
                     </nav>
                 </header>
+                //SET AT MIDDLE OF VIEWPORT IF NO SEARCHING AND TOP 25% IF SEARCHING
                 <main class="container">
                     <div class="row">
                         <div class="col">