Skip to content

Commit

Permalink
idk anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyteon committed Jan 24, 2025
1 parent 0a69125 commit 8c20985
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lang/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ reqwest = { version = "0.12.11", features = ["blocking", "json"] }
rouille = "3.6.2"
serde_json = "1.0.134"
toml = "0.8.19"
zip = "2.2.2"
zip = "2.2.2"
openssl = { version = "0.10", features = ["vendored"] }
2 changes: 1 addition & 1 deletion lang/src/cli/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub fn server() {
(POST) (/eval) => {
println!("POST /eval | {} | {}", request.remote_addr(), request.header("User-Agent").unwrap_or("unknown"));

let text = rouille::input::plain_text_body(request).unwrap_or("".to_string());
let text = rouille::input::plain_text_body(request).unwrap();

if text.contains("exit") {
return rouille::Response {
Expand Down

0 comments on commit 8c20985

Please sign in to comment.