Revert dev serving to direct https://<ip>:5173 with self-signed cert
The domain+Caddy+Let's Encrypt approach worked once the cloud firewall allowed ports 80/443 through, but the simpler direct <ip>:port setup (self-signed cert via basicSsl, one-time browser click-through) is preferred now that the ports are confirmed open - Caddy is stopped and disabled rather than removed, in case it's needed again. The mixed- content /api proxy from the previous fix is unaffected and still required, since the backend itself remains plain http://. Co-Authored-By:Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
Showing
| ... | ... | @@ -12,6 +12,7 @@ |
| "test:watch": "vitest" | ||
| }, | ||
| "dependencies": { | ||
| "@vitejs/plugin-basic-ssl": "^2.3.0", | ||
| "leaflet": "^1.9.4", | ||
| "lucide-react": "^1.31.0", | ||
| "react": "^19.2.8", | ||
| ... | ... | @@ -28,7 +29,6 @@ |
| "@types/node": "^24.13.3", | ||
| "@types/react": "^19.2.17", | ||
| "@types/react-dom": "^19.2.3", | ||
| "@vitejs/plugin-basic-ssl": "^2.3.0", | ||
| "@vitejs/plugin-react": "^6.0.4", | ||
| "jsdom": "^29.1.1", | ||
| "oxlint": "^1.75.0", | ||
| ... | ... |
Please
register
or
sign in
to comment