Add custom URL support to vue frontend

This commit is contained in:
2025-08-20 22:50:38 +02:00
parent 864f0a5a45
commit 8c0f8c6b44
8 changed files with 281 additions and 22 deletions

View File

@@ -9,6 +9,11 @@ class ApiService {
console.log('API service token set:', token ? `${token.substring(0, 10)}...` : 'null')
}
setBaseUrl(url: string) {
this.baseUrl = url
console.log('API service base URL set:', url)
}
private getHeaders(): HeadersInit {
return {
'Authorization': this.token,