Izmenio da zove API po domenu, ne localhost:...

This commit is contained in:
rglst 2023-02-21 11:40:50 +01:00
parent b3b591db36
commit 095d575d08

View File

@ -5,7 +5,7 @@
recipe_id: 1,
ammount:40,
async getResults() {
this.results = await (await fetch('http://localhost:5000/calculate', {
this.results = await (await fetch('http://solidarna.cyberdeck.xyz/calculate', {
method:'POST',
body: JSON.stringify({
recipe_id: this.recipe_id,