diff --git a/README.md b/README.md index 7c219b45..59a993f5 100644 --- a/README.md +++ b/README.md @@ -22,3 +22,5 @@ npm run dev _This starts the server in non-database mode._ It will serve a simple webpage at `http://localhost:8080`. You do _not_ need to set up a database or any interactivity on the webpage yet. Instructions for that will come later in the course! + +fideleChester's version of Boot.dev's Notely app. diff --git a/src/api/auth.ts b/src/api/auth.ts index 69d58500..8e258e40 100644 --- a/src/api/auth.ts +++ b/src/api/auth.ts @@ -1,5 +1,6 @@ import { IncomingHttpHeaders } from "http"; +// This module provides a function to extract an API key from the request headers. export function getAPIKey(headers: IncomingHttpHeaders): string | null { const authHeader = headers["authorization"]; if (!authHeader) {