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

Solve CORS issues for Visual Studio feeds #37

Conversation

FokkoVeegens
Copy link
Collaborator

This pull request includes several changes to improve the development environment and enhance the functionality of the Index page. The most important changes are detailed below:

Development Environment Improvements:

  • .vscode/launch.json: Changed the default port for the Vite development server from 3000 to 5173 and added a serverReadyAction to debug with Edge when the server is ready.
  • vite.config.mjs: Enabled source maps in the build configuration to facilitate debugging.

Functionality Enhancements:

  • src/pages/Index.jsx: Added a proxy URL to handle CORS issues when fetching RSS items and sorted the RSS items by publication date before rendering them. [1] [2] [3]

Fixes #20

@FokkoVeegens FokkoVeegens requested a review from rajbos as a code owner January 3, 2025 16:22
Copy link
Collaborator

@rajbos rajbos left a comment

Choose a reason for hiding this comment

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

Please update the showing of the filter buttons so the CORS feeds are visible as well (remove the filter call here: https://github.com/xebia/github-copilot-updates/blob/main/src/pages/Index.jsx#L151)

.vscode/launch.json Outdated Show resolved Hide resolved
src/pages/Index.jsx Show resolved Hide resolved
@FokkoVeegens
Copy link
Collaborator Author

Please update the showing of the filter buttons so the CORS feeds are visible as well (remove the filter call here: https://github.com/xebia/github-copilot-updates/blob/main/src/pages/Index.jsx#L151)

Fixed with the latest change

@FokkoVeegens
Copy link
Collaborator Author

@rajbos Agree to merge the changes?

@rajbos
Copy link
Collaborator

rajbos commented Jan 8, 2025

Check, Good to go!

@FokkoVeegens FokkoVeegens merged commit 65993e1 into xebia:main Jan 9, 2025
@FokkoVeegens FokkoVeegens deleted the 20-solve-cors-issue-for-visual-studio-feeds branch January 9, 2025 11:33
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.

CORS issues on new feeds from Visual Studio
2 participants