Commit 26fc622e1bc4f961a2052597359a65e49e2b58f9

Thomas de Grivel 2024-10-24T13:41:35

fix httpd

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/lib/kc3/0.1/httpd.kc3 b/lib/kc3/0.1/httpd.kc3
index 408c01a..f8286a1 100644
--- a/lib/kc3/0.1/httpd.kc3
+++ b/lib/kc3/0.1/httpd.kc3
@@ -16,9 +16,9 @@ defmodule HTTPd do
 
   def load_app = fn () {
     HTTP.mime_type_load("config/mime.types")
-    load_directory("app/models")
-    load_directory("app/controllers")
-    load_directory("app/views")
+    load_directory("app/models/")
+    load_directory("app/controllers/")
+    load_directory("app/views/")
     if (File.exists?("config/routes.kc3")) do
       load("config/routes.kc3")
     end