Commit 3cab3be48d5449c4435bec0a22e76fdc40f77038

Thomas de Grivel 2024-09-23T15:05:09

comment out puts

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/httpd/fx/app/views/fx_view.kc3 b/httpd/fx/app/views/fx_view.kc3
index 530fe6a..bae0af8 100644
--- a/httpd/fx/app/views/fx_view.kc3
+++ b/httpd/fx/app/views/fx_view.kc3
@@ -33,9 +33,9 @@ defmodule FXView do
     file_size = File.size(path)
     # mime = HTTP.mime_type(File.ext(path))
     mime = system(["file", "-bi", path])
-    puts("mime: #{inspect(mime)}")
+    # puts("mime: #{inspect(mime)}")
     mime_first = (Sym) first(Str.split((Str) mime, "/"))
-    puts("mime_first: #{inspect(mime_first)}")
+    # puts("mime_first: #{inspect(mime_first)}")
     file_path = "/file" + Str.slice(path, 4, -1)
     preview = if (mime_first == :image &&
                   (size != :small ||