mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-03 19:48:11 +00:00
Zmiana linku do API (produkcja)
This commit is contained in:
@@ -9,9 +9,10 @@
|
|||||||
<div>by <a href="https://td2.info.pl/profile/?u=17708" target="_blank">Railtrains997</a></div>
|
<div>by <a href="https://td2.info.pl/profile/?u=17708" target="_blank">Railtrains997</a></div>
|
||||||
</h1>
|
</h1>
|
||||||
<p>
|
<p>
|
||||||
{{ isMobile ? 'Przytrzymaj zestawienie' : 'Kliknij na zestawienie prawym przyciskiem myszy' }}, aby zobaczyć je
|
{{ isMobile ? 'Przytrzymaj zestawienie' : 'Kliknij na zestawienie prawym przyciskiem myszy' }}, aby zobaczyć
|
||||||
na stronie <i>vagonweb.cz</i>
|
je na stronie <i>vagonweb.cz</i>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<input type="text" tabindex="0" v-model="searchedReadyStockName" placeholder="Szukaj zestawienia..." />
|
<input type="text" tabindex="0" v-model="searchedReadyStockName" placeholder="Szukaj zestawienia..." />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -158,7 +159,9 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
|
|
||||||
async mounted() {
|
async mounted() {
|
||||||
const readyStockJSONData: ResponseJSONData = await (await fetch('https://spythere.github.io/api/readyStockTest.json')).json();
|
const readyStockJSONData: ResponseJSONData = await (
|
||||||
|
await fetch('https://spythere.github.io/api/readyStock.json')
|
||||||
|
).json();
|
||||||
|
|
||||||
if (!readyStockJSONData) {
|
if (!readyStockJSONData) {
|
||||||
this.responseStatus = 'error';
|
this.responseStatus = 'error';
|
||||||
|
|||||||
Reference in New Issue
Block a user