summaryrefslogtreecommitdiffstats
path: root/VegaData/wwwroot/index.js
diff options
context:
space:
mode:
authorivar <i@oiee.no>2025-10-07 23:32:23 +0200
committerivar <i@oiee.no>2025-10-07 23:32:23 +0200
commitc56a27ab8f64712a0ba02112365f412e5d84c723 (patch)
tree12e50cbcc3d968303371ef92d8264fdec49a72fc /VegaData/wwwroot/index.js
parent36af91f107d5425858ea975e3d8e4d1ab82f2f15 (diff)
downloadvegadata-c56a27ab8f64712a0ba02112365f412e5d84c723.tar.xz
vegadata-c56a27ab8f64712a0ba02112365f412e5d84c723.zip
nn
Diffstat (limited to 'VegaData/wwwroot/index.js')
-rw-r--r--VegaData/wwwroot/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/VegaData/wwwroot/index.js b/VegaData/wwwroot/index.js
index 1a07ccb..ec27f4d 100644
--- a/VegaData/wwwroot/index.js
+++ b/VegaData/wwwroot/index.js
@@ -76,8 +76,8 @@ async function renderShows(query = search.value) {
async function share(show) {
const shareData = {
title: `${show.title} ${dateString(show.startDateTime, true)} på vega`,
- url: urlId(show),
- };
+ url: `${location.origin}/index.html#${urlId(show)}`,
+ }
await navigator.share(shareData);
}