Skip to content

Update CORS to use a library#624

Open
xinchaochen8 wants to merge 8 commits intospiffe:mainfrom
xinchaochen8:update_cors
Open

Update CORS to use a library#624
xinchaochen8 wants to merge 8 commits intospiffe:mainfrom
xinchaochen8:update_cors

Conversation

@xinchaochen8
Copy link
Copy Markdown

This PR introduces CORS (Cross-Origin Resource Sharing) support to Tornjak agent and Tornjak manager API

Changes include:

Updated server.go to integrate CORS headers.
Modified master-build.yaml for compatibility.
Merged latest main branch to resolve conflicts.

fixes #494

Signed-off-by: Xin Chao Chen xinchaochen108@gmail.com

Copy link
Copy Markdown
Collaborator

@maia-iyer maia-iyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your PR update on the Cors handling! I left an initial review on the agent code

@xinchaochen8 xinchaochen8 force-pushed the update_cors branch 2 times, most recently from 52861ec to e622e6a Compare April 19, 2025 01:39
@xinchaochen8 xinchaochen8 requested a review from maia-iyer April 19, 2025 01:39
xinchaochen8 and others added 6 commits June 3, 2025 13:15
Signed-off-by: Xin Chao <xinchaochen108@gmail.com>
Signed-off-by: Xin Chao <xinchaochen108@gmail.com>
resolve linting error by check return values

Signed-off-by: Xin Chao <xinchaochen108@gmail.com>
`set-output` command is deprecated and upgrade it

Signed-off-by: Xin Chao <xinchaochen108@gmail.com>
Signed-off-by: EURICIA <xinchaochen1095@gmail.com>
Signed-off-by: Xin Chao <xinchaochen108@gmail.com>
Reverted changes for `set-output` command is deprecated and fixed some typos.

Signed-off-by: Xin Chao <xinchaochen108@gmail.com>
Alan-Cha added 2 commits June 3, 2025 13:28
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
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.

Update cors to use a library

3 participants