adding obsidian support

This commit is contained in:
2026-01-12 16:36:13 +00:00
parent 721522bfa4
commit 07da28634c

View File

@@ -6,7 +6,7 @@ import axios from "axios";
const note = ref(null);
const fetchNote = async () => {
const response = await axios.get("/api/notes/Welcome");
const response = await axios.get("/api/notes/Index");
note.value = response.data;
};
@@ -19,7 +19,7 @@ onMounted(fetchNote);
<div
v-if="note"
class="a4page-portrait bdr-1 flex-col relative scroll-y gap"
class="a4page-portrait bdr-1 flex-col relative scroll-y gap bg-primary"
>
<h1>{{ note.title }}</h1>
<small>{{ note.last_edited }}</small>