aura-security 0.6.3 → 0.6.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aura-security",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
4
4
  "description": "Deterministic security auditing engine with optional AI advisory layer. Run as CLI, CI step, or service. AI does not make enforcement decisions.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -2600,7 +2600,10 @@
2600
2600
  }
2601
2601
 
2602
2602
  // ========== FIXER AGENT INTEGRATION ==========
2603
- const FIXER_AGENT_URL = 'http://localhost:3012';
2603
+ // Use same host as page, but port 3012 for Fixer Agent
2604
+ const FIXER_AGENT_URL = window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1'
2605
+ ? 'http://localhost:3012'
2606
+ : `http://${window.location.hostname}:3012`;
2604
2607
  let currentFixesData = null;
2605
2608
 
2606
2609
  function showFixesSection(show) {