chore: update LNBits API configuration in environment and documentation

- Added VITE_LNBITS_API_URL to .env.example for LNBits API integration.
- Updated AUTHENTICATION.md to reflect changes in LNBits base URL configuration.
- Refactored ProfileDialog.vue and config files to use VITE_LNBITS_BASE_URL instead of VITE_API_BASE_URL for API calls.
This commit is contained in:
padreug 2025-08-10 10:43:01 +02:00
parent 7bee629e6b
commit c2f11f3d96
4 changed files with 8 additions and 8 deletions

View file

@ -22,7 +22,7 @@ const emit = defineEmits<Emits>()
const userDisplay = computed(() => auth.userDisplay.value)
// Get the API base URL from environment variables
const apiBaseUrl = import.meta.env.VITE_API_BASE_URL || ''
const apiBaseUrl = import.meta.env.VITE_LNBITS_BASE_URL || ''
function handleLogout() {
auth.logout()