Skip to content

Commit

Permalink
Fix share URL
Browse files Browse the repository at this point in the history
  • Loading branch information
NotWoods committed May 7, 2024
1 parent cfadab7 commit 39f69a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/client/services/share/route-url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export function routeShareUrl(
routeId: Route['route_id'],
tripId?: Trip['trip_id'],
) {
let shareHref = `https://hibus.plus/routes/${routeId}`;
let shareHref = `https://app.hawaiibusplus.com/share/routes/${routeId}`;
if (tripId) {
shareHref += `#${tripId}`;
}
Expand Down
4 changes: 2 additions & 2 deletions packages/client/share/PageHead.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ export function PageHead({ route, mapUrl }: Props) {
<meta property="og:image" content={mapUrl} />
<meta
property="og:url"
content={`https://hibus.plus/routes/${route.route_id}`}
content={`https://app.hawaiibusplus.com/share/routes/${route.route_id}`}
/>
<link
rel="canonical"
href={`https://hibus.plus/routes/${route.route_id}`}
href={`https://app.hawaiibusplus.com/share/routes/${route.route_id}`}
/>
</Head>
);
Expand Down

0 comments on commit 39f69a3

Please sign in to comment.