refactor comment system into comments plugin
This commit is contained in:
parent
31844269c0
commit
fb36329556
8 changed files with 134 additions and 101 deletions
|
|
@ -128,7 +128,7 @@ export const useApiStore = defineStore("api", () => {
|
|||
};
|
||||
|
||||
try {
|
||||
const response = await fetch("/add-comment.json", headers);
|
||||
const response = await fetch("/create-comment.json", headers);
|
||||
if (!response.ok) {
|
||||
throw new Error(`HTTP error! status: ${response.status}`);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue