Skip to content

Conversation

@agarny
Copy link
Contributor

@agarny agarny commented Dec 3, 2025

No description provided.

Copilot AI review requested due to automatic review settings December 3, 2025 00:34
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR modifies the remote file fetching logic to first attempt a direct fetch before falling back to a CORS proxy. The change aims to optimize performance and reduce reliance on the proxy service when direct access is available.

Key Changes:

  • Modified file() function in locCommon.ts to try direct fetch first, then fall back to CORS proxy on failure
  • Updated version numbers in both root and renderer package.json files from 0.20251203.1 to 0.20251203.2

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/renderer/src/common/locCommon.ts Implements fallback logic to try direct fetch before using CORS proxy for remote files
src/renderer/package.json Version bump to 0.20251203.2
package.json Version bump to 0.20251203.2

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@agarny agarny merged commit fdd0022 into opencor:main Dec 3, 2025
8 checks passed
@agarny agarny deleted the issue300 branch December 3, 2025 00:56
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