Skip to content

Commit

Permalink
Removed unneeded types
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Jan 2, 2025
1 parent 2679028 commit cfbe859
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions functions/robots.txt.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { ReasonPhrases, StatusCodes } from 'http-status-codes';
import type { RequestContext } from '../src/backend/context';

export async function onRequest({ env }: RequestContext) {
export async function onRequest() {
try {
return new Response('User-agent: *\nDisallow: /', {
status: StatusCodes.OK,
Expand Down

0 comments on commit cfbe859

Please sign in to comment.