Skip to content

feat: Add CORS support for data source endpoints#112

Merged
field123 merged 1 commit intomasterfrom
feat/cm-data-source-cors
Feb 4, 2026
Merged

feat: Add CORS support for data source endpoints#112
field123 merged 1 commit intomasterfrom
feat/cm-data-source-cors

Conversation

@field123
Copy link
Collaborator

@field123 field123 commented Feb 4, 2026

Summary

  • Add CORS preflight handlers for data-source routes (/api/v1/data-source/sources, /api/v1/data-source/sources/test, /api/v1/data-source/sources/*)
  • Add cmCors middleware to all data-source route handlers to allow Commerce Manager to access these endpoints

Enable Commerce Manager to access data source API endpoints by adding
cmCors middleware and preflight handlers for:
- /api/v1/data-source/sources
- /api/v1/data-source/sources/test
- /api/v1/data-source/sources/*
@field123 field123 merged commit 400ec43 into master Feb 4, 2026
7 checks passed
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.

1 participant