Skip to content

Dexie cloud sync CORS error #2142

Answered by dfahlander
parsagholipour asked this question in Q&A
Discussion options

You must be logged in to vote

The CORS error is resolved by white-listing the origin that your application runs on. In your case, it seems to be running on http://localhost:5173 or possibly https://localhost:5173

Please run the following commands on a console window, standing in the same path where you have the files dexie-cloud.key and dexie-cloud.json:

npx dexie-cloud whitelist http://localhost:5173
npx dexie-cloud whitelist https://localhsot:5173

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dfahlander
Comment options

@parsagholipour
Comment options

Answer selected by parsagholipour
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants