From 199fabe0f15bfdc677e0675f112cc9907f5e66e6 Mon Sep 17 00:00:00 2001 From: cg2p Date: Tue, 2 Feb 2021 21:51:09 +1100 Subject: [PATCH] update Pages doc --- www/docs/configuration/pages.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/www/docs/configuration/pages.md b/www/docs/configuration/pages.md index f979e39d81..16bb6d2d52 100644 --- a/www/docs/configuration/pages.md +++ b/www/docs/configuration/pages.md @@ -118,3 +118,7 @@ You can also use the `signIn()` function which will handle obtaining the CSRF to ```js signIn('credentials', { username: 'jsmith', password: '1234' }) ``` + +:::tip +Remember to put any custom pages in a folder outside **/pages/api** which is reserved for API code. As per the examples above, a location convention suggestion is `pages/auth/...`. +::: \ No newline at end of file