Spaces:
Sleeping
Sleeping
Commit History
-
fix: Use server-side SITE_URL for runtime OAuth redirect configuration
- Switch from NEXT_PUBLIC_SITE_URL to SITE_URL for runtime configuration - NEXT_PUBLIC_ vars are build-time only and can't be changed at runtime - Add server-side SITE_URL environment variable support - Fixes OAuth redirect to localhost issue in production 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>9e52d76 -
feat: Add NEXT_PUBLIC_SITE_URL environment variable support to Dockerfile
- Add secrets mounting for NEXT_PUBLIC_SITE_URL during build - Add runtime environment variable handling for site URL - Required for proper OAuth callback redirect in production 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>1960891 -
security: Remove hardcoded Supabase credentials from Dockerfile
- Replace hardcoded Supabase URL and anon key with placeholder values - Add placeholder detection logic to prevent usage of invalid credentials - Update error messages to guide proper configuration in HF Spaces - Middleware skips auth when using placeholder values 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>f3ce2f3 -
feat: Implement Hugging Face Spaces secrets mounting for build-time env vars
- Use Docker secrets mounting with --mount=type=secret for build-time access - Fallback to hardcoded values if secrets are not available during build - Clean up placeholder detection logic in client, server, and middleware - Enable proper Supabase configuration during Next.js build process 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>cae669d -
fix: Resolve Hugging Face Spaces build-time environment variable issue
- Upgrade Node.js to version 22 to match local environment - Use placeholder values during Docker build to avoid build failures - Add runtime detection for placeholder values with fallback to actual Supabase config - Remove complex ARG/ENV handling that doesn't work in HF Spaces build process 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>1eba6bf -
fix: Resolve Supabase placeholder URL issue in production
- Add build-time environment variables to Dockerfile for proper Next.js build - Remove placeholder fallback URLs in Supabase client configuration - Add environment variable validation with clear error messages - Remove unused securecheck-pro/Dockerfile to avoid confusion - Add debug logging for environment variable troubleshooting 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>b1ec01c
-
feat: Rebrand from SecureCheck Pro to 원클릭SSL
- Updated project name across all files and documentation - Changed title in frontend components and layouts - Updated backend API titles and report generators - Modified Docker configuration and templates - Rebranded all references in CLAUDE.md and README files This change aligns the product name with the Korean market focus and emphasizes the one-click SSL checking functionality. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>27d49ab
-
fix: Resolve Node.js IPv6 localhost resolution issue (ECONNREFUSED ::1:8000)
- Change localhost to 127.0.0.1 in Next.js API route for direct IPv4 connection - Add NODE_OPTIONS=--dns-result-order=ipv4first to force IPv4 first resolution - Fixes Node.js v17+ default IPv6 localhost resolution breaking API calls in Docker 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>a06f9df -
refactor: Clean up codebase after successful deployment
- Remove unused PDF generation methods and duplicate code - Clean up unused imports and endpoints - Remove deployment workarounds and temporary Git configs - Simplify Dockerfile by removing unnecessary documentation - Streamline backend API to essential functionality only 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>c5852b8 -
fix: Add --break-system-packages flag for pip install in Docker
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>fff4a9d -
fix: Completely rewrite Dockerfile to resolve exit code 127 errors
- Switch from node:18-slim to node:18 (includes npm by default) - Remove supervisor complexity, use simple entrypoint script - Direct dual server setup: FastAPI (8000) + Next.js (7860) - Proper signal handling for graceful shutdown - Eliminates "command not found" errors in HF Spaces deployment 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>c149186 -
fix: Use shell scripts to resolve supervisor command not found errors
- Create start-nextjs.sh and start-fastapi.sh executable scripts - Replace supervisor direct command calls with /bin/bash script execution - Add bash to system dependencies to ensure availability - Scripts inherit full environment and can find npm/node automatically - Fixes persistent exit code 127 "command not found" errors in HF Spaces 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>3ab7f1f -
fix: Use absolute paths for node and npm in supervisor command
- Change supervisor command to use /usr/local/bin/node /usr/local/bin/npm - Add debug logging to verify npm/node installation paths - Use forced symlinks (ln -sf) for better reliability - Add NODE_ENV=production to nextjs environment - Fix "can't find command '/usr/bin/npm'" error 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>e8ef927 -
fix: Add npm/node symlinks and fix supervisor npm command path
- Create symlinks for npm and node binaries to /usr/bin/ - Change supervisor npm command from /usr/local/bin/npm to /usr/bin/npm - Ensure Node.js commands are accessible for dual server setup - Fix exit code 127 errors for frontend server startup 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>0d93069 -
fix: Use absolute paths for supervisor commands and preserve PATH environment
- Use /usr/sbin/nginx instead of nginx - Use /usr/local/bin/npm instead of npm - Use /usr/bin/python3 instead of python3 - Add PATH environment variable to supervisor programs - Fixes exit code 127 (command not found) errors in HF Spaces 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>4eae2f3 -
fix: Configure supervisor logs to use /tmp directory for proper permissions
3c63215 -
fix: Remove user=root from supervisord configuration to fix privilege drop error
375b6cf -
fix: Fix supervisor configuration format with proper newlines
3d59f0c -
fix: Add --break-system-packages flag for Python pip install in Docker container
4cba64f -
fix: Use UID 1001 for appuser to avoid conflict
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>1d26347 -
fix: Docker user creation command syntax
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>0a1c041 -
fix: handle existing UID 1000 in Docker container
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>f50f169 -
feat: implement dual server architecture with supervisor and nginx
- Next.js server on port 3000 (frontend) - FastAPI server on port 8000 (backend API) - nginx proxy on port 7860 (Hugging Face standard) - supervisor manages all 3 processes simultaneously - Proper routing: / → Next.js, /api/v1/ → FastAPI 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>2179c07 -
fix: revert to Next.js server mode with standalone build
- Restore Next.js API routes for proper development workflow - Configure Next.js standalone mode for Docker deployment - Update Dockerfile to copy standalone build artifacts - Frontend calls /api/analyze (Next.js) → FastAPI backend 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>a56d4ce -
feat: Add Hugging Face Spaces deployment configuration
- Add Hugging Face compatible Dockerfile with multi-stage build - Create comprehensive Korean README.md for HF Spaces - Add CLAUDE.md for future development guidance - Configure root .gitignore for Claude settings - Remove Claude settings from tracking 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>ee5a147