- commit
- 2de2bd52599eda033107f97270fc7e750114425f
- parent
- 866891353b827d3a81519b1ca5914db1c5774f57
- author
- dami <gazey55@gmail.com>
| M | site/ | 2 | +- |
@@ -8,7 +8,7 @@ import { fold, parseLog } from "../../lib/fold.ts";
88 export const handler = define.handlers({99 async GET(ctx) {1010 const id = ctx.params.id;11- if (!/^[a-zA-Z0-9_-]{1,80}$/.test(id)) {11+ if (!/^[a-zA-Z0-9_-]{1,80}(\.reset-\d+)?$/.test(id)) {1212 return Response.json({ error: "bad id" }, { status: 400 });1313 }1414 const live = getGame(id);