Compare commits

..

5 Commits

Author SHA1 Message Date
Spythere 76670ceb29 Merge pull request #27 from Spythere/development
1.8.6
2024-05-13 16:12:46 +02:00
Spythere 4cdd8ea06a bump(version): 1.8.6 2024-05-13 15:58:39 +02:00
Spythere 454ae138f7 chore: config fix 2024-05-13 15:57:49 +02:00
Spythere 640c5e262b chore: stock upload fix 2024-05-13 15:52:06 +02:00
Spythere 7416d7d59f chore: pwa caching fixes 2024-05-13 15:51:48 +02:00
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "pojazdownik",
"version": "1.8.5",
"version": "1.8.6",
"private": true,
"type": "module",
"scripts": {
+3 -1
View File
@@ -67,7 +67,9 @@ export default defineComponent({
let vehicle: IVehicle | null = null;
let vehicleCargo: ICargo | null = null;
const isTractionUnit = /^(EU|EP|ET|SM|EN|2EN|SN)/.test(type);
const isTractionUnit = /^([a-zA-Z\d]{0,}-\d{0,})/.test(type);
console.log(type, isTractionUnit);
if (isTractionUnit) {
const [locoType, spawnProps] = type.split(',');
+1 -1
View File
@@ -34,7 +34,7 @@ export default defineConfig({
maxAgeSeconds: 60 * 60 * 24, // <== 1 day
},
cacheableResponse: {
statuses: [0, 200, 404],
statuses: [200],
},
},
},