Skip to content

Commit 8c20985

Browse files
committed
idk anymore
1 parent 0a69125 commit 8c20985

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: lang/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ reqwest = { version = "0.12.11", features = ["blocking", "json"] }
2121
rouille = "3.6.2"
2222
serde_json = "1.0.134"
2323
toml = "0.8.19"
24-
zip = "2.2.2"
24+
zip = "2.2.2"
25+
openssl = { version = "0.10", features = ["vendored"] }

Diff for: lang/src/cli/server.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pub fn server() {
2323
(POST) (/eval) => {
2424
println!("POST /eval | {} | {}", request.remote_addr(), request.header("User-Agent").unwrap_or("unknown"));
2525

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

2828
if text.contains("exit") {
2929
return rouille::Response {

0 commit comments

Comments
 (0)