fix: remove redundant VITE_API_BASE fallback, use wizard config as sole source of truth for HF_BACKEND_BASE_URL

This commit is contained in:
2026-04-15 05:00:56 +00:00
parent f61c506fdb
commit 1a20a1050b
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
import axios from 'axios'
const getApiBase = () => {
return localStorage.getItem('HF_BACKEND_BASE_URL') || import.meta.env.VITE_API_BASE || 'http://127.0.0.1:8000'
return localStorage.getItem('HF_BACKEND_BASE_URL')
}
const api = axios.create({