Add custom URL support to vue frontend
This commit is contained in:
@@ -158,10 +158,13 @@ const toastStore = useToastStore()
|
||||
const { sendMessage: sendMessageOffline } = useOfflineSync()
|
||||
const { playWater, playSent, playSound, speak, stopSpeaking, isSpeaking } = useAudio()
|
||||
|
||||
// Set up services - ensure token is properly set
|
||||
// Set up services - ensure token and URL are properly set
|
||||
if (authStore.token) {
|
||||
apiService.setToken(authStore.token)
|
||||
}
|
||||
if (authStore.serverUrl) {
|
||||
apiService.setBaseUrl(authStore.serverUrl)
|
||||
}
|
||||
|
||||
// Refs
|
||||
const messagesContainer = ref()
|
||||
|
Reference in New Issue
Block a user