Major WHOOSH system refactoring and feature enhancements
- Migrated from HIVE branding to WHOOSH across all components - Enhanced backend API with new services: AI models, BZZZ integration, templates, members - Added comprehensive testing suite with security, performance, and integration tests - Improved frontend with new components for project setup, AI models, and team management - Updated MCP server implementation with WHOOSH-specific tools and resources - Enhanced deployment configurations with production-ready Docker setups - Added comprehensive documentation and setup guides - Implemented age encryption service and UCXL integration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
export const getApiBaseUrl = (): string => {
|
||||
// Production environment
|
||||
if (import.meta.env.PROD) {
|
||||
return import.meta.env.VITE_API_BASE_URL || 'https://hive.home.deepblack.cloud';
|
||||
return import.meta.env.VITE_API_BASE_URL || 'https://whoosh.home.deepblack.cloud';
|
||||
}
|
||||
|
||||
// Development environment - prefer environment variable
|
||||
@@ -20,8 +20,8 @@ export const getApiBaseUrl = (): string => {
|
||||
const hostname = window.location.hostname;
|
||||
|
||||
// If we're on the production domain, use production API
|
||||
if (hostname === 'hive.home.deepblack.cloud') {
|
||||
return 'https://hive.home.deepblack.cloud';
|
||||
if (hostname === 'whoosh.home.deepblack.cloud') {
|
||||
return 'https://whoosh.home.deepblack.cloud';
|
||||
}
|
||||
|
||||
// If we're on localhost, try to detect the backend port
|
||||
@@ -38,7 +38,7 @@ export const getApiBaseUrl = (): string => {
|
||||
export const getWebSocketUrl = (): string => {
|
||||
// Production environment
|
||||
if (import.meta.env.PROD) {
|
||||
return import.meta.env.VITE_WS_BASE_URL || 'https://hive.home.deepblack.cloud';
|
||||
return import.meta.env.VITE_WS_BASE_URL || 'https://whoosh.home.deepblack.cloud';
|
||||
}
|
||||
|
||||
// Development environment
|
||||
@@ -50,8 +50,8 @@ export const getWebSocketUrl = (): string => {
|
||||
// Smart fallback based on current hostname
|
||||
const hostname = window.location.hostname;
|
||||
|
||||
if (hostname === 'hive.home.deepblack.cloud') {
|
||||
return 'https://hive.home.deepblack.cloud';
|
||||
if (hostname === 'whoosh.home.deepblack.cloud') {
|
||||
return 'https://whoosh.home.deepblack.cloud';
|
||||
}
|
||||
|
||||
if (hostname === 'localhost' || hostname === '127.0.0.1') {
|
||||
|
||||
Reference in New Issue
Block a user