summaryrefslogtreecommitdiffstats
path: root/VegaData/wwwroot/index.js
diff options
context:
space:
mode:
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);
}