mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-13 15:28:38 +00:00
The "Check Proxy Nodes" button in Settings > Diagnostics was returning 403 Forbidden due to missing CSRF token. The frontend was using native fetch() instead of apiFetch() which automatically includes CSRF tokens for POST requests. Fixed three endpoints in Settings.tsx: - /api/diagnostics (GET) - for consistency - /api/diagnostics/temperature-proxy/register-nodes (POST) - reported issue - /api/diagnostics/docker/prepare-token (POST) - same bug Note: Export/import config endpoints intentionally continue using native fetch() because they need custom 401/403 handling to show the API token modal instead of redirecting to login. |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .eslintignore | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| .prettierignore | ||
| .prettierrc | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||