mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-04 06:49:58 +01:00
- Fix currency defaults (SATS → CHF) across forms, configs, and API routes - Remove @ts-nocheck from socialService.ts and improve type safety - Replace console.log statements with proper logger utility in production code - Additional type safety improvements and code quality enhancements - Documentation updates for improved maintainability All changes follow DRY, SSOT, and separation of concerns principles.
81 lines
645 B
Bash
Executable File
81 lines
645 B
Bash
Executable File
#!/bin/bash
|
|
# Quick fix for cache issues - run this when changes aren't showing
|
|
|
|
echo "🔧 Quick Cache Fix"
|
|
echo ""
|
|
|
|
# Stop dev server if running
|
|
echo "Stopping dev server..."
|
|
pkill -f "next dev" 2>/dev/null || true
|
|
sleep 1
|
|
|
|
# Clear .next
|
|
echo "Clearing .next cache..."
|
|
rm -rf .next
|
|
|
|
echo ""
|
|
echo "✅ Done! Now:"
|
|
echo " 1. In browser: Open DevTools (F12) → Application → Service Workers → Unregister all"
|
|
echo " 2. In browser: Application → Cache Storage → Delete all"
|
|
echo " 3. Hard refresh: Ctrl+Shift+R (or Cmd+Shift+R on Mac)"
|
|
echo " 4. Run: npm run dev"
|
|
echo ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|