jarvis
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user