Skip to content

Commit

Permalink
Merge pull request #26 from thaddeus/upstream-pull
Browse files Browse the repository at this point in the history
Upstream pull
  • Loading branch information
Razzmatazzz authored Sep 24, 2024
2 parents 51fd268 + f0fffa8 commit 63e180f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,6 @@ export default {
//response = playground(request, graphQLOptions);
return graphiql(graphQLOptions);
}

if (!useNightbotOnUrl(url) && !useLiteApiOnUrl(url) && url.pathname !== graphQLOptions.baseEndpoint) {
return new Response('Not found', { status: 404 });
}

if (useNightbotOnUrl(url)) {
return await getNightbotResponse(request, url, env, ctx);
Expand Down

0 comments on commit 63e180f

Please sign in to comment.