💄 Trip share: display full link
This commit is contained in:
parent
f0c5996e82
commit
abe545c094
@ -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(),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user