chore(api): url changes

This commit is contained in:
2024-04-08 23:40:24 +02:00
parent 31302cc053
commit 9c59c30f12
4 changed files with 16 additions and 1420 deletions
+1 -5
View File
@@ -7,11 +7,7 @@ export default defineComponent({
},
getThumbnailURL(vehicleType: string, size: 'small' | 'large') {
return `${
import.meta.env.VITE_API_DEV === '1'
? 'http://localhost:5500'
: 'https://static.spythere.eu'
}/images/${vehicleType}--${size == 'small' ? 300 : 800}px.jpg`;
return `https://static.spythere.eu/images/${vehicleType}--${size == 'small' ? 300 : 800}px.jpg`;
},
},
});