Comparison

mod_http_upload/mod_http_upload.lua @ 1849:5244c9b0b297

mod_http_upload: Log a message with the upload URL and storage path for easy discovery
author Kim Alvefur <zash@zash.se>
date Mon, 14 Sep 2015 12:44:10 +0200
parent 1848:e5243fa16210
child 1850:e3a0ebe671cc
comparison
equal deleted inserted replaced
1848:e5243fa16210 1849:5244c9b0b297
111 ["GET /*"] = serve_uploaded_files; 111 ["GET /*"] = serve_uploaded_files;
112 ["HEAD /*"] = serve_head; 112 ["HEAD /*"] = serve_head;
113 ["PUT /*"] = upload_data; 113 ["PUT /*"] = upload_data;
114 }; 114 };
115 }); 115 });
116
117 module:log("info", "URL: <%s>; Storage path: %s", module:http_url(), storage_path);