refactor-login-page #7

Merged
jared merged 61 commits from refactor-login-page into main 2025-06-18 13:10:25 +02:00
5 changed files with 0 additions and 10 deletions
Showing only changes of commit 31ca124511 - Show all commits

View File

@@ -41,7 +41,6 @@
let url = `/api/list/${filename}`;
console.log(`--- ${filename} + ${url}`);
try {
const response = await fetch(url, { method: 'DELETE' });
if (response.status == 204) {

View File

@@ -62,7 +62,6 @@
});
function uploadSuccessful() {
console.log('reset');
open = false;
}
@@ -97,7 +96,6 @@
return;
}
if (ev.key == 'Enter') {
console.log('--- hitted');
let name_field = ev.currentTarget as HTMLElement | null;
let new_name = name_field
? name_field.textContent || (name_field as any).innerText || ''
@@ -117,7 +115,6 @@
// construct PUT URL
const url = $page.url;
console.log(url);
let data_obj: { new_name: string; old_name: string } = { new_name: '', old_name: '' };
data_obj['new_name'] = new_name;
@@ -250,7 +247,6 @@
let url = new URL($page.url);
url.pathname += `/${filename}`;
console.log(`--- ${vorgang} + ${filename} + ${url}`);
try {
const response = await fetch(url, { method: 'DELETE' });
if (response.status == 204) {

View File

@@ -6,7 +6,6 @@ import { json } from '@sveltejs/kit';
export async function PUT({ request }: {request: Request}) {
const data = await request.json();
console.log(`--- ${request.url.split('/').at(-1)} +++ ${JSON.stringify(data)}`);
// Vorgang
const vorgang = request.url.split('/').at(-1);

View File

@@ -52,9 +52,6 @@ export async function DELETE({ params }) {
items_str.on('end', async () => {
resolve(res)
})
console.log(`+++ ${vorgang}`)
})
await client.removeObjects('tatort', object_list)

View File

@@ -5,7 +5,6 @@ export async function GET() {
const result = new ReadableStream({
start(controller) {
stream.on('data', (data) => {
//console.log(data);
controller.enqueue(`${JSON.stringify(data)}\n`);
});
stream.on('end', () => {