@ -8,9 +8,9 @@
<link rel="stylesheet" href="/base.css">
<script src="/worker.js"></script>
<script src="/back.js"></script>
<script src="/items.js"></script>
<script src="/common/worker.js"></script>
<script src="/common/back.js"></script>
<script src="/common/items.js"></script>
</head>
<body>
<h1>About</h1>
@ -10,8 +10,8 @@
<h1>InfoTren</h1>
@ -1,7 +1,7 @@
const VERSION = 'v6'
const VERSION = 'v8'
const API_ORIGIN = 'https://scraper.infotren.dcdev.ro/'
const API_TRAINS = `${API_ORIGIN}v3/trains`
const API_STATIONS = `${API_ORIGIN}v2/stations`
const API_STATIONS = `${API_ORIGIN}v3/stations`
self.addEventListener('install', (event) => {
event.waitUntil(
@ -13,9 +13,9 @@ self.addEventListener('install', (event) => {
'/',
// Utility JS
'/worker.js',
'/items.js',
'/back.js',
'/common/worker.js',
'/common/items.js',
'/common/back.js',
// Base
'/base.css',
@ -10,9 +10,9 @@
<script src="train.js"></script>
@ -11,9 +11,9 @@
<link rel="stylesheet" href="view-train.css">
<script src="view-train.js"></script>