Add LoraBell app support and enhance package management in mock backend
- Introduced LoraBell as a static demo app in the mock backend, preventing its uninstallation. - Merged static dev apps with Docker container data for improved package management. - Updated app details and URLs for LoraBell in the Apps and AppDetails views. - Enhanced the dummyApps utility to include LoraBell's configuration for consistent app representation.
This commit is contained in:
@@ -613,6 +613,10 @@ function launchApp() {
|
||||
// Special handling for apps with Docker containers
|
||||
// TODO: Replace dummy app URLs with real URLs when apps are packaged
|
||||
const appUrls: Record<string, { dev: string, prod: string }> = {
|
||||
'lorabell': {
|
||||
dev: '/lorabell-info.html',
|
||||
prod: '/lorabell-info.html'
|
||||
},
|
||||
'atob': {
|
||||
dev: 'http://localhost:8102',
|
||||
prod: 'https://app.atobitcoin.io'
|
||||
|
||||
@@ -244,8 +244,12 @@ function launchApp(id: string) {
|
||||
return
|
||||
}
|
||||
|
||||
// Fallback: Special handling for apps with Docker containers
|
||||
// Fallback: Special handling for apps with Docker containers / no-web-interface devices
|
||||
const appUrls: Record<string, { dev: string, prod: string }> = {
|
||||
'lorabell': {
|
||||
dev: '/lorabell-info.html',
|
||||
prod: '/lorabell-info.html'
|
||||
},
|
||||
'atob': {
|
||||
dev: 'http://localhost:8102',
|
||||
prod: 'https://app.atobitcoin.io'
|
||||
|
||||
Reference in New Issue
Block a user