diff --git a/src/controllers/api/oauth.ts b/src/controllers/api/oauth.ts index 242646b..5837a5e 100644 --- a/src/controllers/api/oauth.ts +++ b/src/controllers/api/oauth.ts @@ -5,6 +5,7 @@ import { generateSecretKey, getPublicKey } from 'nostr-tools'; import { z } from 'zod'; import { AppController } from '@/app.ts'; +import { Conf } from '@/config.ts'; import { DittoDB } from '@/db/DittoDB.ts'; import { nostrNow } from '@/utils.ts'; import { parseBody } from '@/utils/api.ts'; @@ -128,13 +129,42 @@ const oauthController: AppController = (c) => {
Sign in with a Nostr bunker app. Please configure the app to use this relay: ${Conf.relay}