Skip to content

Commit e5e8318

Browse files
committed
[Docs Site] Remove old API docs functions
1 parent 077b67a commit e5e8318

File tree

5 files changed

+0
-178
lines changed

5 files changed

+0
-178
lines changed

functions/api/[[path]].ts

Lines changed: 0 additions & 47 deletions
This file was deleted.

functions/api/redirects.ts

Lines changed: 0 additions & 22 deletions
This file was deleted.

functions/schema.ts

Lines changed: 0 additions & 93 deletions
This file was deleted.

functions/tsconfig.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

worker/index.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { WorkerEntrypoint } from "cloudflare:workers";
22
import { generateRedirectsEvaluator } from "redirects-in-workers";
33
import redirectsFileContents from "../dist/_redirects";
4-
import functions from "./functions";
54

65
const redirectsEvaluator = generateRedirectsEvaluator(redirectsFileContents);
76

@@ -51,12 +50,6 @@ export default class extends WorkerEntrypoint<Env> {
5150
error,
5251
);
5352
}
54-
55-
try {
56-
return await functions.fetch(request, this.env, this.ctx);
57-
} catch (error) {
58-
console.error("Could not evaluate functions", error);
59-
}
6053
} catch (error) {
6154
console.error("Unknown error", error);
6255
}

0 commit comments

Comments
 (0)