Skip to content

Conversation

Copy link

Copilot AI commented Sep 22, 2025

This PR adds HTTP permission for the application to access dl.google.com by updating the Tauri capabilities configuration.

Changes Made

  • Added https://dl.google.com to the HTTP permission allowlist in src-tauri/capabilities/desktop.json

Background

The application's HTTP requests are controlled by Tauri's security capabilities system. Previously, only *.115.com domains were permitted for HTTP access. This change extends the permission to include Google's download domain while maintaining the existing security restrictions.

Technical Details

The change updates the http:default permission configuration to include:

{
  "url": "https://dl.google.com"
}

This follows Tauri's security best practices by explicitly allowlisting only the required domains rather than opening broader network access.

Testing

  • ✅ JSON configuration syntax validated
  • ✅ TypeScript compilation passes
  • ✅ ESLint checks pass
  • ✅ Vite build process completes successfully
  • ✅ No impact on existing functionality

The change is minimal and surgical, adding only the specific domain permission needed without affecting any other application behavior.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

@lvzhenbo lvzhenbo closed this Sep 22, 2025
Copilot AI changed the title [WIP] I have agreed to visit dl.google.com Add permission for dl.google.com access in Tauri HTTP capabilities Sep 22, 2025
Copilot AI requested a review from lvzhenbo September 22, 2025 06:39
Copilot finished work on behalf of lvzhenbo September 22, 2025 06:39
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