about summary refs log tree commit diff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-10-27 01:09:45 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-10-27 01:09:45 +0200
commit1dc202f50e35c6ae685b053b7529283af8165a14 (patch)
treed1ccb9b2b311475727fbe9efcff8f7d55128d607 /Cargo.lock
parentIndexer: Return json from the /search endpoint (diff)
downloadOSSE-1dc202f50e35c6ae685b053b7529283af8165a14.tar.gz
OSSE-1dc202f50e35c6ae685b053b7529283af8165a14.tar.bz2
OSSE-1dc202f50e35c6ae685b053b7529283af8165a14.zip
Indexer: Setup permissive CORS
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock16
1 files changed, 16 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 8686540..63e25f0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -20,6 +20,21 @@ dependencies = [
 ]
 
 [[package]]
+name = "actix-cors"
+version = "0.6.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "684a6ce1562a5fcca49bc9302896c63547eea78a1e405e837e7416affd8b6eb9"
+dependencies = [
+ "actix-utils",
+ "actix-web",
+ "derive_more",
+ "futures-util",
+ "log",
+ "once_cell",
+ "smallvec",
+]
+
+[[package]]
 name = "actix-http"
 version = "3.2.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1097,6 +1112,7 @@ dependencies = [
 name = "indexer"
 version = "0.1.0"
 dependencies = [
+ "actix-cors",
  "actix-web",
  "html2text",
  "rand 0.7.3",