Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use NextResponse.json() in case of middleware errors #150

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

mantagen
Copy link
Collaborator

@mantagen mantagen commented Sep 23, 2024

Description

    response = await authMiddleware(request, event);
    response = addCspHeaders(response, request);

@mantagen mantagen requested a review from a team September 23, 2024 08:42
Copy link

vercel bot commented Sep 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
oak-ai-lesson-assistant ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 23, 2024 8:44am

Copy link

sonarcloud bot commented Sep 23, 2024

Copy link

Playwright e2e tests

Job summary

Download report

To view traces locally, unzip the report and run:

npx playwright show-report ~/Downloads/playwright-report

@mantagen mantagen merged commit 73259a2 into production Sep 23, 2024
13 checks passed
@mantagen mantagen deleted the fix/error-method branch September 23, 2024 08:56
@oak-machine-user
Copy link
Collaborator

🎉 This PR is included in version 1.7.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants