Download src/lib/startupSync.ts from HonzaH/Letschat: direct link, hf CLI and curl.
- Browser
- Download file 322 Bytes
-
https://huggingface.co/spaces/HonzaH/Letschat/resolve/main/src/lib/startupSync.ts
- Command line
-
hf download hf://spaces/HonzaH/Letschat/src/lib/startupSync.ts
-
curl -L -o startupSync.ts https://huggingface.co/spaces/HonzaH/Letschat/resolve/main/src/lib/startupSync.ts
322 Bytes
| import { syncLocalToSupabase } from './persistence' | |
| ;(async () => { | |
| try { | |
| console.log('[startupSync] starting syncLocalToSupabase') | |
| const res = await syncLocalToSupabase() | |
| console.log('[startupSync] synced=', res?.synced ?? 0) | |
| } catch (e) { | |
| console.error('[startupSync] error', e) | |
| } | |
| })() | |