Fix API endpoint - use core.blackroad.systems instead of api.blackroad.io

api.blackroad.io is the existing agent/ledger API
core.blackroad.systems will be our new FastAPI backend
Frontend will work on localhost:8000 for local development
This commit is contained in:
Alexa Louise
2025-12-13 14:36:12 -06:00
parent b9080f054b
commit 6c68b5bce8

View File

@@ -8,7 +8,7 @@ class BlackRoadAPI {
// API configuration
this.API_BASE = window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1'
? 'http://localhost:8000'
: 'https://api.blackroad.io'; // We'll set up CNAME for this
: 'https://core.blackroad.systems'; // Core backend API (deploy backend here)
// Auth state
this.authToken = localStorage.getItem('blackroad_auth_token');