Skip to content

Conversation

@stevensJourney
Copy link
Contributor

Overview

Web support has been added to the Flutter Django demo in powersync-ja/powersync.dart#200. Using this backend in a browser requires the HTTP routes to allow cross-origin requests. This PR adds CORS headers to allow requests from any domain.

See the snapshot of the Chrome Network tools while running the Flutter Django demo in web. The response headers now contain CORS values.
image

Copy link

@mugikhan mugikhan left a comment

Choose a reason for hiding this comment

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

LGTM!

@stevensJourney stevensJourney merged commit d6d14f7 into main Nov 1, 2024
@stevensJourney stevensJourney deleted the feat/cors branch November 1, 2024 13:24
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