]> git.example.dev Git - binbsis50-sm.git/commitdiff
updated: rooms html main
author2weiEmu <saalbach.robert@outlook.de>
Wed, 3 Jun 2026 21:12:50 +0000 (23:12 +0200)
committer2weiEmu <saalbach.robert@outlook.de>
Wed, 3 Jun 2026 21:12:50 +0000 (23:12 +0200)
public/js/index.js
public/rooms.html [new file with mode: 0644]

index 0e3d47c41a769186cadb18d2babe15ba153e0415..ac65c747ff5d0d5d96fdaf0b3d5bfb3eda63e924 100644 (file)
@@ -395,7 +395,6 @@ async function uploadFileWithDataAndName() {
        let content = fileUploadFileContent.files[0] // it's a bit quirky like that
        let filename = fileUploadFileName.value // TODO: again name checking, also on the server side
 
-       console.log(content)
        let response = await fetch("/api/files/createWithUpload/" + filename, {
                method: "POST",
                body: content
diff --git a/public/rooms.html b/public/rooms.html
new file mode 100644 (file)
index 0000000..452c03e
--- /dev/null
@@ -0,0 +1,12 @@
+
+<html>
+       <head>
+               <link href="/css/index.css" rel="stylesheet" type="text/css">
+               <meta name="viewport" content="width=device-width, initial-scale=1.0">
+               <link rel="icon" type="image/x-icon" href="/img/favicon.ico">
+       </head>
+
+       <body>
+       </body>
+</html>
+