aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/router.ex
diff options
context:
space:
mode:
Diffstat (limited to 'shardweb/lib/router.ex')
-rw-r--r--shardweb/lib/router.ex2
1 files changed, 2 insertions, 0 deletions
diff --git a/shardweb/lib/router.ex b/shardweb/lib/router.ex
index 3f78afd..a6a61f9 100644
--- a/shardweb/lib/router.ex
+++ b/shardweb/lib/router.ex
@@ -34,6 +34,8 @@ defmodule ShardWeb.Router do
post "/dir/add", DirectoryController, :dir_add
post "/dir/rm", DirectoryController, :dir_rm
post "/dir/set_stored", DirectoryController, :dir_set_stored
+ post "/dir/upload", DirectoryController, :dir_upload
+ get "/raw/:infohash", DirectoryController, :raw_file
get "/chat/:chan", ChatController, :chat
get "/pm/:people_list", ChatController, :privchat