把 .html 單檔透過下方拖檔上傳,即可取得一個常駐網址 html.yanchen.app/<site>/ — 永久代管,不自動下架。每站附一份 KV store 可存前端 demo 資料。
// 站台級 KV:/<site>/api/kv/<key>
const KV = '/' + location.pathname.split('/')[1] + '/api/kv';
await fetch(KV + '/score', { method:'PUT',
headers:{'Content-Type':'application/json'},
body: JSON.stringify({ player:'Alice', score:42 }) });
const data = await (await fetch(KV + '/score')).json();