remove some logging

AuthorKonata <konata@posteo.jp>
Date
Commit1bfb72cf506aa55e88419580fbf5d4b3907718f9
Parent1297264
3 files changed, 3 deletions(-)
▾Mserver/src/index.ts
@@ -131,7 +131,6 @@ const app = setup
request.signal.addEventListener("abort", () => cmd.kill("SIGKILL"));
set.headers["content-type"] = mimeType;
if (query.disableChunkedTranscoding) {
console.log("Here");
const chunks: Uint8Array[] = [];
for await (const chunk of cmd.stdout) {
chunks.push(chunk);
▾Mwebclient/src/components/DownloadButton.tsx
@@ -74,7 +74,6 @@ export function DownloadButton(props: DownloadButtonProps) {
}
if ("bytes" in progress) return <span>{formatProgress(progress.bytes)}</span>;
console.log(progress);
console.error("Unexpected", progress);
})()}
</div>
▾Mwebclient/src/components/FileBrowser.tsx
@@ -156,7 +156,6 @@ export default function FileBrowser(props: FileBrowserProps) {
on(props.currentDir, () => {
//need the timeout, otherwise we could execute the scroll before rendering finishes
setTimeout(() => {
console.log(filelistElement.scrollTop);
let parts = `${props.currentDir()}`.split("/");
if (props.currentDir() !== "") parts = ["", ...parts];
scrollPositions.length = Math.min(parts.length, scrollPositions.length);