Commit Graph

7 Commits

Author SHA1 Message Date
N1C4T
813775cb50 feat: added sidebar, removed verbose comments, fixed npm audits 2026-02-22 04:52:21 +04:00
N1C4T
87267b06ab fix: resolve CORS issues in 39dbc46 by moving verification to build-time
- Replace runtime Flathub API calls with static JSON generation
- Add prebuild and predev scripts to specificially fetch verification data
- Refactor useVerification hook to be synchronous
- Fixes Flathub API CORS errors in production
2026-01-25 21:14:42 +04:00
NIJAT
a97779fa3b fix: use static export for both CF Pages and Docker
- Set output: 'export' in next.config.ts (creates /out directory)
- Replaced Node.js standalone Dockerfile with nginx serving static files
- Updated docker-compose.yml for nginx (port 80)
- Both CF Pages and Docker now use the same static build
2025-12-29 18:40:07 +04:00
NIJAT
9930abd991 fix: support both static export (CF Pages) and standalone (Docker) builds
- next.config.ts now checks STATIC_EXPORT env var to toggle output mode
- Added pages:build script for Cloudflare Pages to use
- Docker uses default 'npm run build' which creates .next/standalone
- CF Pages should use 'npm run pages:build' which creates out/
2025-12-29 18:34:48 +04:00
NIJAT
ae1448fe48 fix: build config for dual Docker/Cloudflare support
- next.config.ts: Auto-detects Cloudflare Pages (CF_PAGES) to use 'export', defaults to 'standalone' for Docker
- wrangler.json: Removed invalid binding for static deploy
- package.json: Added build:static script
2025-12-29 12:53:45 +04:00
NIJAT
0eae8240c7 feat: security fixes, loading skeleton, script refactor 2025-12-28 17:29:39 +04:00
NIJAT
45ec702e74 Initial Commit 2025-12-24 07:37:01 +04:00