We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c5df00 commit 14355bbCopy full SHA for 14355bb
cloudflare/src/handle.rs
@@ -23,10 +23,6 @@ lazy_static! {
23
pub async fn fetch(req: worker::Request, env: worker::Env, _: worker::Context) -> anyhow::Result<worker::Response> {
24
log::info!("{} {:?}", req.method().to_string(), req.url().map(|u| u.to_string()));
25
let req = to_request(req).await?;
26
- if req.method() == hyper::Method::GET {
27
- let response = graphiql(&req)?;
28
- return to_response(response).await;
29
- }
30
let env = Rc::new(env);
31
let app_ctx = match get_app_ctx(env, &req).await? {
32
Ok(app_ctx) => app_ctx,
0 commit comments