Instead of the complex Cloudflare Worker setup with CORS proxy, you can now deploy both PWA and backend on Uberspace (~5€/month). Changes: - Add Express.js backend server (server/index.js) - Update ConfigService to support VITE_API_URL env variable - Make base path configurable via VITE_BASE_PATH - Add comprehensive Uberspace deployment guide - Add .env.production.example for configuration Deployment options: 1. Uberspace (recommended): Simple, all-in-one hosting 2. GitHub Pages + Cloudflare Workers: Free but complex setup Co-Authored-By: Claude <noreply@anthropic.com>
35 lines
384 B
Plaintext
35 lines
384 B
Plaintext
node_modules
|
|
.DS_Store
|
|
|
|
# Local config / secrets
|
|
config.local.json
|
|
*.local.json
|
|
.env
|
|
.env.*
|
|
!.env.*.example
|
|
*.secret.*
|
|
*.key
|
|
*.pem
|
|
|
|
# Build outputs
|
|
dist
|
|
build
|
|
.vite
|
|
coverage
|
|
|
|
# Logs
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
|
|
# Private data / exports
|
|
data/
|
|
steam-text/
|
|
|
|
# Private assets (place files here)
|
|
public/private/
|
|
src/assets/private/
|
|
assets/private/
|