@rsktash/beads-ui 0.1.24 → 0.1.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server/auth.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsktash/beads-ui",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/rsktash/beads-ui.git"
package/server/auth.js CHANGED
@@ -105,7 +105,7 @@ export function authMiddleware(req, res, next) {
105
105
  if (!isAuthEnabled()) return next();
106
106
 
107
107
  // Allow auth endpoints and health check
108
- if (req.path.startsWith('/api/auth') || req.path === '/healthz') return next();
108
+ if (req.path.startsWith('/api/auth') || req.path === '/healthz' || req.path === '/api/config') return next();
109
109
 
110
110
  // Allow static assets and SPA routes (auth enforced client-side)
111
111
  const ext = req.path.split('.').pop();