get notes edit
This commit is contained in:
parent
96d26ce568
commit
6b5e56d17c
|
@ -23,7 +23,7 @@
|
||||||
let notes = [];
|
let notes = [];
|
||||||
|
|
||||||
async function fetchNotes() {
|
async function fetchNotes() {
|
||||||
const response = await fetch('http://localhost:8069/notes');
|
const response = await fetch('https://api.brz9.dev/getnotes');
|
||||||
|
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
notes = await response.json();
|
notes = await response.json();
|
||||||
|
|
Loading…
Reference in New Issue