diff options
author | Alex Auvolat <alex@adnab.me> | 2018-11-05 15:40:18 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2018-11-05 15:40:18 +0100 |
commit | 0b27af3dab56b667b50fd80590cdfd9df0feffbd (patch) | |
tree | 7c1185496166b04aa21ea66f285650d62e954f20 /shardweb/lib/router.ex | |
parent | 72906c6bb473ea605235c84b6d01c318f7b6cef8 (diff) | |
download | shard-0b27af3dab56b667b50fd80590cdfd9df0feffbd.tar.gz shard-0b27af3dab56b667b50fd80590cdfd9df0feffbd.zip |
File progress
Diffstat (limited to 'shardweb/lib/router.ex')
-rw-r--r-- | shardweb/lib/router.ex | 2 |
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 |