clean up: remove GitHub Pages & Cloudflare Workers, deploy to Uberspace

All-in-one Uberspace deployment:
- Backend: Node.js Express on port 3000 (/api/*)
- Frontend: Static files served by Apache (/)
- URL: https://wtp.uber.space

Removed:
- GitHub Actions workflow
- Cloudflare Worker setup service
- CloudflareSetupPage component
- CloudflareService
- 404.html (GitHub Pages redirect)
- Cloudflare menu item from Settings

Simplified:
- Use VITE_BASE_PATH and VITE_API_URL for config
- Single deployment target (no multi-env complexity)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-02-06 21:24:42 +01:00
parent 0fe09f01f8
commit 576c171a98
14 changed files with 80 additions and 1119 deletions

View File

@@ -8,16 +8,8 @@
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<meta name="apple-mobile-web-app-title" content="WhatToPlay" />
<link rel="manifest" href="/whattoplay/manifest.json" />
<link rel="manifest" href="/manifest.json" />
<title>WhatToPlay</title>
<script>
// Restore path from 404 redirect
const redirectPath = sessionStorage.getItem("redirectPath");
if (redirectPath) {
sessionStorage.removeItem("redirectPath");
history.replaceState(null, "", redirectPath);
}
</script>
</head>
<body>
<div id="root"></div>