Dexie cloud sync CORS error #2142
Answered
by
dfahlander
parsagholipour
asked this question in
Q&A
-
When I change a row and Dexie tries to sync it gets the CORS error. |
Beta Was this translation helpful? Give feedback.
Answered by
dfahlander
Mar 6, 2025
Replies: 1 comment 2 replies
-
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:
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
parsagholipour
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: