Fix URL for timetable details

This commit is contained in:
Fred Boniface 2023-07-13 20:36:47 +01:00
parent be7d0106d5
commit 2bbe81922c
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,3 @@
export const version = '2023.7.1'; export const version = '2023.7.1';
export const versionTag = 'beta.3'; export const versionTag = 'beta.4';
export const showWelcome = true; export const showWelcome = true;

View File

@ -8,7 +8,7 @@
let isExpanded = false; let isExpanded = false;
async function getTrainByUID(tuid = '') { 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 = { const options = {
method: 'GET', method: 'GET',
headers: { headers: {
@ -108,10 +108,12 @@
.container-header { .container-header {
text-align: left; text-align: left;
padding-left: 10px; padding-left: 10px;
font-size: 14px; font-size: 18px;
font-weight: 600; font-weight: 600;
padding-top: 12px; padding-top: 12px;
padding-bottom: 10px; padding-bottom: 10px;
font-family: ubuntu, monospace;
color: white;
} }
#container-arrow { #container-arrow {
font-family: Arial, Helvetica, sans-serif; font-family: Arial, Helvetica, sans-serif;