Spaces:
Paused
Paused
Download server/scripts/browser-transfer-code.js from shanshal66/chinak: direct link, hf CLI and curl.
- Browser
- Download file 888 Bytes
-
https://huggingface.co/spaces/shanshal66/chinak/resolve/main/server/scripts/browser-transfer-code.js
- Command line
-
hf download hf://spaces/shanshal66/chinak/server/scripts/browser-transfer-code.js
-
curl -L -o browser-transfer-code.js https://huggingface.co/spaces/shanshal66/chinak/resolve/main/server/scripts/browser-transfer-code.js
888 Bytes
| // AUTO-GENERATED DRAFT TRANSFER CODE | |
| // Paste this in browser console at http://localhost:5173/admin/products | |
| localStorage.setItem('admin_local_drafts', '[{"name":"Untitled Product","chineseName":"","description":"","price":0,"basePriceRMB":0,"image":"","images":[],"status":"DRAFT","isActive":false,"isFeatured":false,"purchaseUrl":"","specs":{"moq":1,"company":"","location":"","weight_kg":0.5,"original_price_rmb":0,"converted_price_iqd":0},"storeEvaluation":{"responseRate":"","transactionRate":""},"weight":0.5,"length":20,"width":15,"height":10,"domesticShippingFee":0,"id":"local-1769608965552","createdAt":"2026-01-28T14:02:45.552Z","updatedAt":"2026-01-28T14:02:45.553Z","isLocal":true}]'); | |
| console.log('✅ 1 draft product(s) loaded into localStorage'); | |
| console.log('🔄 Refresh the admin products page to see your drafts'); | |
| // Products transferred: | |
| // 1. Untitled Product | |