Skip to content

fix(core): attach custom origin to sync service requests when in tauri#873

Merged
synoet merged 4 commits intomainfrom
synoet/sync-service-tauri-origin-header
Jan 9, 2026
Merged

fix(core): attach custom origin to sync service requests when in tauri#873
synoet merged 4 commits intomainfrom
synoet/sync-service-tauri-origin-header

Conversation

@synoet
Copy link
Copy Markdown
Contributor

@synoet synoet commented Jan 8, 2026

Cloudflare has some kind of waf rule that blocks requests coming from tauri hostname.
Seems like the only simple way to fix this is to manually set the origin.

@synoet synoet requested a review from a team as a code owner January 8, 2026 22:31
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 8, 2026

@synoet synoet closed this Jan 9, 2026
@synoet synoet reopened this Jan 9, 2026
Copy link
Copy Markdown
Contributor

@peterchinman peterchinman left a comment

Choose a reason for hiding this comment

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

g2g, works on tauri dev & prod builds

@synoet synoet merged commit 647d8db into main Jan 9, 2026
20 checks passed
@synoet synoet deleted the synoet/sync-service-tauri-origin-header branch January 9, 2026 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants