💄 Trip share: display full link

This commit is contained in:
itskovacs 2025-08-13 22:00:01 +02:00
parent f0c5996e82
commit abe545c094

View File

@ -215,7 +215,7 @@ export class ApiService {
return this.httpClient return this.httpClient
.get<SharedTripURL>(`${this.apiBaseUrl}/trips/${trip_id}/share`) .get<SharedTripURL>(`${this.apiBaseUrl}/trips/${trip_id}/share`)
.pipe( .pipe(
map((t) => t.url), map((t) => window.location.origin + t.url),
shareReplay(), shareReplay(),
); );
} }