This commit is contained in:
mike
2025-12-17 15:13:41 +01:00
parent ece4141f3c
commit 30406ab0eb
2 changed files with 4 additions and 7 deletions

View File

@@ -375,7 +375,10 @@
<script>
// Configuration
const API_BASE_URL = '/api'
// Use /api proxy when served from production domain, direct access for local dev
const API_BASE_URL = window.location.hostname === 'jarvis-lan.appmodel.nl'
? '/api'
: 'http://192.168.1.74:1234/v1'
const API_KEY = 'not-needed'
// Global state