Files
xsser 1e0100d6a5 fix: restore landing/ with Cloudflare Functions to fix #89
All 5 API endpoints (/api/me, /api/auth/github, /api/auth/callback,
/api/upload, /api/auth/logout) were returning SPA index.html instead
of executing serverless functions because the landing/ directory was
removed from the repo and gitignored.

This caused GitHub OAuth to "redirect back to main page" as reported
in #89 — clicking Login with GitHub navigated to /api/auth/github
which served the SPA without any hash, rendering the landing page.

Restores:
- Cloudflare Pages Functions (auth, upload, session)
- D1 migration schema
- R2 upload configuration
- wrangler.toml deployment config

Closes #89
2026-03-18 12:46:27 +08:00

19 lines
1.1 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!doctype html>
<html lang="zh">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>💢</text></svg>" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>pua — Claude Code Skill</title>
<meta name="description" content="用大厂 PUA 话术驱动 Claude Code 穷尽所有方案才允许放弃。基于 9 个真实场景 × 18 组对照实验验证。" />
<meta property="og:title" content="pua — Claude Code Skill" />
<meta property="og:description" content="Forces Claude Code into exhaustive debugging before giving up. 4-level pressure escalation, 7-item mandatory checklist, 5-step methodology." />
<meta property="og:type" content="website" />
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "4dfa805499264080a512b9999de3a5b6"}'></script>
</body>
</html>