fix a few small bugs (#4955)

* add `Patch` endpoint

* fix stack overflow on loader

* add timeout to playwright

* 45 min

* remove macos x86 from runners
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2025-11-11 12:37:19 -03:00
1 parent 2a515a3fc9
commit 57e3543c64
4 files changed
+38 -12

No files matched your search

+29
View File
@@ -342,3 +342,32 @@ mod input_types {
Ok(())
}
}
mod handlers {
use super::*;
#[get("/handlers/get")]
async fn handle_get() -> Result<String> {
Ok("handled get".to_string())
}
#[post("/handlers/post")]
async fn handle_post() -> Result<String> {
Ok("handled post".to_string())
}
#[put("/handlers/put")]
async fn handle_put() -> Result<String> {
Ok("handled put".to_string())
}
#[patch("/handlers/patch")]
async fn handle_patch() -> Result<String> {
Ok("handled patch".to_string())
}
#[delete("/handlers/delete")]
async fn handle_delete() -> Result<String> {
Ok("handled delete".to_string())
}
}