From 2bbe81922c681320f97524cfe9756e5dc12ffb8a Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Thu, 13 Jul 2023 20:36:47 +0100 Subject: [PATCH] Fix URL for timetable details --- src/lib/stores/version.js | 2 +- src/lib/train/train-detail.svelte | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/lib/stores/version.js b/src/lib/stores/version.js index a2a813c..15e1eea 100644 --- a/src/lib/stores/version.js +++ b/src/lib/stores/version.js @@ -1,3 +1,3 @@ export const version = '2023.7.1'; -export const versionTag = 'beta.3'; +export const versionTag = 'beta.4'; export const showWelcome = true; diff --git a/src/lib/train/train-detail.svelte b/src/lib/train/train-detail.svelte index 80d85f9..3175f2e 100644 --- a/src/lib/train/train-detail.svelte +++ b/src/lib/train/train-detail.svelte @@ -8,7 +8,7 @@ let isExpanded = false; async function getTrainByUID(tuid = '') { - const url = `https://owlboard.info/api/v2/timetable/train/byTrainUid/${tuid}`; + const url = `https://owlboard.info/api/v2/timetable/train/now/byTrainUid/${tuid}`; const options = { method: 'GET', headers: { @@ -108,10 +108,12 @@ .container-header { text-align: left; padding-left: 10px; - font-size: 14px; + font-size: 18px; font-weight: 600; padding-top: 12px; padding-bottom: 10px; + font-family: ubuntu, monospace; + color: white; } #container-arrow { font-family: Arial, Helvetica, sans-serif;