adding welcome
This commit is contained in:
@@ -47,6 +47,7 @@ func (notes *Notes) GetNote(path string) (*Note, error) {
|
||||
return nil, ErrPathTraversal
|
||||
}
|
||||
|
||||
fullPath += ".md"
|
||||
data, err := os.ReadFile(fullPath)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
<script setup>
|
||||
import RouterTable from "@/components/quick/RouterTable.vue";
|
||||
const note_links = [
|
||||
{ name: "ILSP", link: "/notes/islp" },
|
||||
{ name: "Vue", link: "/notes/vue" },
|
||||
];
|
||||
const res = await axios.post("/api/notes/Welcome");
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user