Can data be fetched from anywhere?
Browser calls are allowed only from the configured ALLOWED_ORIGIN. Non-browser clients can still call the Worker with the correct token.
Worker URL:
https://um-time-sync.mykulcarr.workers.dev
Personal Edition default:
Sync is preconfigured. Use Sync Download and Sync Upload directly.
When Opening the Page
- Click Sync Download to load the latest remote data.
- If sync fails, open Advanced then click Edit Sync to review endpoint, namespace, token, or auto-sync options.
- Use the base Worker URL only (no /health and no /v1/state path).
Before Closing the Page
- Click Sync Upload after your final changes.
- Wait for a success status message.
- Optional: click Sync Download once to confirm round-trip.
Quick Debug
- Open DevTools > Network > Fetch/XHR, then run Upload/Download.
- Expect PUT and GET calls to /v1/state/default (or your namespace).
- 401 = token mismatch, 403 = origin mismatch, 404 = wrong URL/path, 405 = wrong method.
- Worker health check should return ok: true at /health.