Skip to content

Conversation

@taiphanvan2k3
Copy link
Member

@taiphanvan2k3 taiphanvan2k3 commented Dec 4, 2025

  • Added "https://ake.chathub.info.vn" to the CORS policy for development, allowing requests from this origin in addition to existing ones.

Summary by CodeRabbit

  • Chores
    • Updated API configuration to enable access from an additional domain, expanding service availability across multiple platforms.

✏️ Tip: You can customize this high-level summary in your review settings.

- Added "https://ake.chathub.info.vn" to the CORS policy for development, allowing requests from this origin in addition to existing ones.
@taiphanvan2k3 taiphanvan2k3 self-assigned this Dec 4, 2025
@taiphanvan2k3 taiphanvan2k3 merged commit 0e34c0e into main Dec 4, 2025
2 checks passed
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 4, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Added a new CORS origin, "https://ake.chathub.info.vn", to the DevelopmentPolicy in the ServiceCollectionExtensions configuration. The additional origin is included in the WithOrigins call alongside existing origins, with all other CORS settings (AllowAnyMethod, AllowAnyHeader, AllowCredentials) remaining unchanged.

Changes

Cohort / File(s) Summary
CORS Configuration
src/Web.Api/Extensions/ServiceCollectionExtensions.cs
Added new CORS origin "https://ake.chathub.info.vn" to the DevelopmentPolicy WithOrigins configuration

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

  • Single-line configuration change with minimal risk
  • Verify the new origin URL is correct and intentional

Poem

🐰 A new domain hops into view,
CORS policies welcome friends so true,
"ake.chathub" now finds its place,
Cross-origin doors now open with grace! ✨


📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Free

📥 Commits

Reviewing files that changed from the base of the PR and between b150e23 and c61b7c9.

📒 Files selected for processing (1)
  • src/Web.Api/Extensions/ServiceCollectionExtensions.cs (1 hunks)

Note

🎁 Summarized by CodeRabbit Free

Your organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login.

Comment @coderabbitai help to get the list of available commands and usage tips.

@taiphanvan2k3 taiphanvan2k3 deleted the chore/update-cors-for-frontend branch December 4, 2025 04:33
taiphanvan2k3 added a commit that referenced this pull request Dec 22, 2025
…-frontend

chore: Update CORS policy to include new origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants