Skip to content

fix: modify CSP to allow connect-src blob#549

Merged
kfiven merged 6 commits intocinnyapp:mainfrom
weareoutman:patch-1
Mar 17, 2026
Merged

fix: modify CSP to allow connect-src blob#549
kfiven merged 6 commits intocinnyapp:mainfrom
weareoutman:patch-1

Conversation

@weareoutman
Copy link
Contributor

Updated Content Security Policy to include 'blob' in connect-src.

Fixing #548

Description

Fixes #

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

Updated Content Security Policy to include 'blob' in connect-src.

Fixing cinnyapp#548
@weareoutman weareoutman changed the title Modify CSP to allow connect-src blob Fix CSP issue for file preview and download Mar 12, 2026
@weareoutman weareoutman changed the title Fix CSP issue for file preview and download fix: modify CSP to allow connect-src blob Mar 12, 2026
@weareoutman
Copy link
Contributor Author

weareoutman commented Mar 14, 2026

@kfiven Hi, GitHub Actions were failed, I suggest to disable updater for forked PRs. For outside PRs, you don't want them to release packages with your own keys.

A possible config could be:

      # Before tauri-apps/tauri-action
      - name: Disable Updater for Fork PRs
        if: github.event.pull_request.head.repo.fork == true
        run: |
          echo "TAURI_CONFIG={\"plugins\": {\"updater\": {\"pubkey\": \"\"}}}" >> $GITHUB_ENV

Copy link
Collaborator

@kfiven kfiven 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 this and changes to ci!

@kfiven kfiven merged commit a396a54 into cinnyapp:main Mar 17, 2026
4 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants