Skip to content

Commit a6ccf77

Browse files
committed
Update links
1 parent 36ceadc commit a6ccf77

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ Therefore we're using a separate org admin token to verify membership during log
7878

7979
This routes all traffic through the lambda endpoint.
8080

81-
Adapt `includeFiles` to your public output folder. Including these files is required because the static website needs to be deployed as part of the lambda function, not the default build. See also the [function docs](https://vercel.com/docs/configuration?query=includeFiles#project/functions) and [limits](https://vercel.com/docs/platform/limits?query=includeFiles#serverless-function-size).
81+
Adapt `includeFiles` to your public output folder. Including these files is required because the static website needs to be deployed as part of the lambda function, not the default build. See also the [function docs](https://vercel.com/docs/projects/project-configuration#functions) and [size limit docs](https://vercel.com/docs/functions/serverless-functions/runtimes#size-limits).
8282

8383
### Step 4 — Build
8484

8585
If you have an existing `build` script, rename it to `vercel-build` to build your website as part of the lambda build instead of the normal build.
8686

87-
Make sure to not keep the `build` script as it would result in duplicate work or may break deployment entirely. For more information see [custom-build-step-for-node-js](https://vercel.com/docs/runtimes#advanced-usage/advanced-node-js-usage/custom-build-step-for-node-js).
87+
Make sure to not keep the `build` script as it would result in duplicate work or may break deployment entirely. For more information see [custom-build-step-for-node-js](https://vercel.com/docs/functions/serverless-functions/runtimes/node-js#custom-build-step-for-node.js).
8888

8989
```json
9090
{

lib/fastify-cookie.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import fastifyCookie from "@fastify/cookie"
44
import { Config } from "./types"
55

66
//
7-
// https://github.com/fastify/fastify-cookie#fastify-cookie
7+
// https://github.com/fastify/fastify-cookie
88
//
99
export function registerCookieMiddleware(
1010
server: FastifyInstance,

lib/fastify-lambda.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { VercelApiHandler, VercelRequest, VercelResponse } from "@vercel/node"
22
import { FastifyInstance } from "fastify"
33

44
//
5-
// https://www.fastify.io/docs/latest/Serverless/#vercel
6-
// https://vercel.com/docs/serverless-functions/supported-languages#using-typescript
5+
// https://fastify.dev/docs/latest/Guides/Serverless#vercel
6+
// https://vercel.com/docs/functions/serverless-functions/runtimes/node-js#using-typescript-with-the-node.js-runtime
77
//
88
export const createLambdaHandler: (
99
server: FastifyInstance,

lib/fastify-static.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import path from "path"
55
import { Config } from "./types"
66

77
//
8-
// https://github.com/fastify/fastify-static#fastify-static
8+
// https://github.com/fastify/fastify-static
99
//
1010
export function registerServeStatic(server: FastifyInstance, config: Config) {
1111
server.register(fastifyStatic, {

lib/github-oauth.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export function registerGitHubOAuth(server: FastifyInstance, config: Config) {
6464
}
6565

6666
//
67-
// https://docs.github.com/en/free-pro-team@latest/developers/apps/authorizing-oauth-apps#web-application-flow
67+
// https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/authorizing-oauth-apps#web-application-flow
6868
//
6969
const redirectToGitHub = async (
7070
req: FastifyRequest<RoutePrams>,
@@ -175,7 +175,7 @@ export function registerGitHubOAuth(server: FastifyInstance, config: Config) {
175175
}
176176

177177
//
178-
// https://www.fastify.io/docs/latest/Hooks/
178+
// https://fastify.dev/docs/latest/Reference/Hooks
179179
//
180180
server.addHook<RoutePrams>("preValidation", async (req, res) => {
181181
try {

0 commit comments

Comments
 (0)