forked from svitvojimilioni/kuhkal
Izmenio da zove API po domenu, ne localhost:...
This commit is contained in:
parent
b3b591db36
commit
8399a1a7f0
@ -5,7 +5,7 @@
|
|||||||
recipe_id: 1,
|
recipe_id: 1,
|
||||||
ammount:40,
|
ammount:40,
|
||||||
async getResults() {
|
async getResults() {
|
||||||
this.results = await (await fetch('http://localhost:5000/calculate', {
|
this.results = await (await fetch('https://solidarna.cyberdeck.xyz/calculate', {
|
||||||
method:'POST',
|
method:'POST',
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
recipe_id: this.recipe_id,
|
recipe_id: this.recipe_id,
|
||||||
|
Loading…
Reference in New Issue
Block a user