🛠️ fix: add code to prevent csrf attacks using cors (#172)

This commit is contained in:
neon_arch 2023-08-03 17:44:13 +03:00
parent 5b4e7c75c0
commit bef8956da6
3 changed files with 30 additions and 1 deletions

View file

@ -14,6 +14,7 @@ handlebars = { version = "4.3.6", features = ["dir_source"] }
scraper = {version="*"}
actix-web = {version="4.3.1", features = ["cookies"]}
actix-files = {version="0.6.2"}
actix-cors = {version="0.6.4"}
serde_json = {version="*"}
fake-useragent = {version="*"}
env_logger = {version="0.10.0"}