PunimTag Web Application - Major Feature Release #1

Open
tanyar09 wants to merge 106 commits from dev into master
4 changed files with 11 additions and 0 deletions
Showing only changes of commit 36127ed97c - Show all commits

View File

@ -250,6 +250,8 @@ jobs:
DATABASE_URL_AUTH: postgresql://postgres:postgres@localhost:5432/punimtag_auth
NEXTAUTH_SECRET: test-secret-key-for-ci
NEXTAUTH_URL: http://localhost:3001
RESEND_API_KEY: re_dummy_key_for_ci_build_only
RESEND_FROM_EMAIL: test@example.com
secret-scanning:
needs: skip-ci-check

View File

@ -3,6 +3,9 @@ import { prismaAuth } from '@/lib/db';
import { generatePasswordResetToken, sendPasswordResetEmail } from '@/lib/email';
import { isValidEmail } from '@/lib/utils';
// Force dynamic rendering to prevent Resend initialization during build
export const dynamic = 'force-dynamic';
export async function POST(request: NextRequest) {
try {
const body = await request.json();

View File

@ -4,6 +4,9 @@ import bcrypt from 'bcryptjs';
import { generateEmailConfirmationToken, sendEmailConfirmation } from '@/lib/email';
import { isValidEmail } from '@/lib/utils';
// Force dynamic rendering to prevent Resend initialization during build
export const dynamic = 'force-dynamic';
export async function POST(request: NextRequest) {
try {
const body = await request.json();

View File

@ -2,6 +2,9 @@ import { NextRequest, NextResponse } from 'next/server';
import { prismaAuth } from '@/lib/db';
import { generateEmailConfirmationToken, sendEmailConfirmationResend } from '@/lib/email';
// Force dynamic rendering to prevent Resend initialization during build
export const dynamic = 'force-dynamic';
export async function POST(request: NextRequest) {
try {
const body = await request.json();