Skip to content

fix: remove duplicate allow_credentials keyword argument in FastAPI CORS middleware#329

Merged
Akshay473 merged 1 commit into
Akshay473:mainfrom
DebasmitaBose0:fix/server-cors-duplicate-keyword
Jun 9, 2026
Merged

fix: remove duplicate allow_credentials keyword argument in FastAPI CORS middleware#329
Akshay473 merged 1 commit into
Akshay473:mainfrom
DebasmitaBose0:fix/server-cors-duplicate-keyword

Conversation

@DebasmitaBose0

Copy link
Copy Markdown
Contributor

Closes #328

Summary

Resolved syntax error in FastAPI setup.

Changes Made

  • Removed the duplicate allow_credentials parameter from CORSMiddleware setup.

Testing

  • PyTest suites run cleanly.
  • Confirmed server boots successfully without SyntaxErrors.

Impact

Enables normal deployment and execution of the backend server.

Checklist

  • Code follows project standards
  • Tested locally
  • No unrelated changes included
  • Responsive design verified
  • Accessibility considered

@vercel

vercel Bot commented Jun 6, 2026

Copy link
Copy Markdown

@DebasmitaBose0 is attempting to deploy a commit to the akshay473's projects Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Jun 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
forensic-pro-suite Ready Ready Preview, Comment Jun 9, 2026 1:13am
forensic-pro-suite-7777 Ready Ready Preview, Comment Jun 9, 2026 1:13am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[GSSOC] Fix CORSMiddleware duplicate keyword argument causing boot SyntaxError

2 participants