feat: QR code terminal + redirection HTTPS automatique
1. QR Code dans le terminal - Package qrcode-terminal installé - Génération QR code au démarrage serveur - Affiche URL dev (5173) ou prod (3000) selon build - Scan facile depuis smartphone 2. Redirection HTTP → HTTPS (mode dev) - Middleware redirection automatique - http://IP:3000 → https://IP:5173 (dev Vite) - Mode prod : à gérer avec nginx/caddy 3. URLs corrigées partout - start.sh : URLs HTTPS - install/macos.sh : HTTPS - install/linux.sh : HTTPS - Messages cohérents avec SSL 4. .gitignore - Ignore dev-dist/ (fichiers générés Vite) Améliore drastiquement l'UX : scan QR + accès HTTPS direct. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
+3
-3
@@ -331,9 +331,9 @@ print_summary() {
|
||||
echo " Terminal 2 : cd $PROJECT_ROOT/client && npm run dev"
|
||||
echo ""
|
||||
echo "🌐 Accès après démarrage :"
|
||||
echo " • Développement local : http://localhost:5173"
|
||||
echo " • Depuis autre appareil (WiFi) : http://${NETWORK_IP}:5173"
|
||||
echo " • Production : http://${NETWORK_IP}:3000"
|
||||
echo " • Développement local : https://localhost:5173"
|
||||
echo " • Depuis smartphone (WiFi) : https://${NETWORK_IP}:5173"
|
||||
echo " • Admin : https://${NETWORK_IP}:5173/admin"
|
||||
echo ""
|
||||
echo "💡 Configuration réseau :"
|
||||
echo " IP serveur détectée : ${NETWORK_IP}"
|
||||
|
||||
Reference in New Issue
Block a user