diff --git a/worker-sandbox/src/lib.rs b/worker-sandbox/src/lib.rs index 0a2b65cd..4beff7b5 100644 --- a/worker-sandbox/src/lib.rs +++ b/worker-sandbox/src/lib.rs @@ -356,8 +356,7 @@ pub async fn main(req: Request, env: Env, _ctx: worker::Context) -> Result { method: "OPTIONS", }); - expect(await resp.text()).toBe("/hello-world"); + expect(await resp.text()).toBe("hello-world"); }); test("redirect default", async () => {