Skip to content

Commit

Permalink
Fix 403 (#47)
Browse files Browse the repository at this point in the history
* Remove unnecssary binding

* Add logging

* Fix cloudfare blocking requests

* Fix test
  • Loading branch information
samtay committed Aug 21, 2024
1 parent 73460bc commit cb62c2f
Show file tree
Hide file tree
Showing 6 changed files with 219 additions and 36 deletions.
205 changes: 192 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ anyhow = "1.0"
clap = "2.33"
crossterm = { version = "0.23", features = ["event-stream"] }
directories = "2.0"
env_logger = "0.11.5"
futures = "0.3"
lazy_static = "1.4"
log = "0.4.22"
minimad = "0.9"
percent-encoding = "2.1"
pulldown-cmark = { version = "0.9", default-features = false }
Expand All @@ -51,7 +53,7 @@ tokio = { version = "1.20", features = ["full"] }
webbrowser = "0.8"

[dependencies.cursive]
version = "0.18"
version = "0.18"
default-features = false
features = ["toml"]

Expand Down
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ use stackexchange::{LocalStorage, Search};
use term::Term;

fn main() -> Result<()> {
env_logger::init();
// Tokio runtime
Runtime::new()?
.block_on(run())
Expand Down
Loading

0 comments on commit cb62c2f

Please sign in to comment.