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:
parent
7bee629e6b
commit
c2f11f3d96
4 changed files with 8 additions and 8 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue