about summary refs log tree commit diff
path: root/crawler/src/main.rs
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-11-05 01:00:05 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-11-05 17:24:54 +0100
commitf2b946f1af005f6be15efd67f5b1508a30fa0c92 (patch)
tree5a5463bb11aaa7ac284e1c6c514832d53767a789 /crawler/src/main.rs
parentIndexer: Actix: Use the same service handler with multiple routes (diff)
downloadOSSE-f2b946f1af005f6be15efd67f5b1508a30fa0c92.tar.gz
OSSE-f2b946f1af005f6be15efd67f5b1508a30fa0c92.tar.bz2
OSSE-f2b946f1af005f6be15efd67f5b1508a30fa0c92.zip
Indexer+Frontend: Integrate with actix
Diffstat (limited to 'crawler/src/main.rs')
-rw-r--r--crawler/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawler/src/main.rs b/crawler/src/main.rs
index 7e7f397..557ba4e 100644
--- a/crawler/src/main.rs
+++ b/crawler/src/main.rs
@@ -55,7 +55,7 @@ async fn crawler(http_client: Client, root_urls: Vec<&str>, max_queue_size: usiz
             //push content to index
             let indexer_response = match push_crawl_entry_to_indexer(
                 &http_client,
-                "http://127.0.0.1:4444/resource".to_string(),
+                "http://127.0.0.1:8080/api/resource".to_string(),
                 url,
                 content,
             )