claude rework

This commit is contained in:
2026-06-07 15:43:43 +02:00
parent a2e2ff141e
commit b4874ad318
63 changed files with 5945 additions and 1752 deletions
+3 -3
View File
@@ -15,7 +15,7 @@ async function save() {
submitted.value = true;
console.log('saved ' + url.value)
try {
const response = await axios.post("feeds/add", {
const response = await axios.post("/api/v1/article/add", {
url: url.value,
title: title.value,
user_id: parseInt(localStorage.getItem("user-id"))
@@ -44,7 +44,7 @@ async function save() {
<div class="modal-header">
<slot name="header">Add RSS Feed</slot>
</div>
<form @submit.prevent="submitForm">
<form @submit.prevent="save">
<label for="name">URL:</label>
<input v-model="url" id="url" type="text" required />
<label for="name">Title:</label>
@@ -56,7 +56,7 @@ async function save() {
<div class="modal-footer">
<slot name="footer">
<button type="submit" @click="save">Save</button>
<button type="submit">Save</button>
<button class="modal-default-button" @click="$emit('close')">Close</button>
</slot>
</div>