Compare commits
2 Commits
a579f2e995
...
1a88eb52e2
| Author | SHA1 | Date | |
|---|---|---|---|
| 1a88eb52e2 | |||
| b7846c31d7 |
@@ -1,4 +1,4 @@
|
||||
const apiUrl = "https://localhost:7297"; // Inserire qui l'URL del web server Kestrel
|
||||
const apiUrl = "http://localhost:5000"; // Inserire qui l'URL del web server Kestrel
|
||||
|
||||
function listPizze(){
|
||||
let reply;
|
||||
@@ -14,7 +14,7 @@ function listPizze(){
|
||||
let table = '<table><tr><th>ID</th><th>Nome</th><th>Prezzo</th><th>Note</th><th>Azioni</th></tr>';
|
||||
|
||||
// Aggiungiamo ogni pizza come riga della tabella
|
||||
pizze.pizze.forEach(pizza => {
|
||||
pizze.forEach(pizza => {
|
||||
table += `<tr>
|
||||
<td>${pizza.id}</td>
|
||||
<td>${pizza.nome}</td>
|
||||
|
||||
Reference in New Issue
Block a user