From 34b98dff715d716db1edf266391ec877a9aae943 Mon Sep 17 00:00:00 2001 From: Alba Silvente Fuentes <36744484+Dawntraoz@users.noreply.github.com> Date: Wed, 20 Mar 2024 16:58:54 +0100 Subject: [PATCH] docs: fix README issues --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ee021b8..f5333c0 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ The other variables can be hard-coded: authentication API endpoints. For example, the following two properties - - `baseUrl: "https://app.com"` + - `baseUrl: "https://my-app.my-domain.com/"` - `endpointPrefix: "api/authenticate"` will result in the API endpoints @@ -94,7 +94,7 @@ The other variables can be hard-coded: ### Create an API route -In NodeJS, create a dynamic route that handles the incoming requests with `authHandler()`. See [Framework examples](#Routing for various frameworks). +In NodeJS, create a dynamic route that handles the incoming requests with `authHandler()`. See [Framework examples](#routing-for-various-frameworks). For example, in Next.js, create a file `pages/api/connect/[...slugs].ts`: