comparison mod_http_upload/mod_http_upload.lua @ 3658:02a1615d0392

mod_http_upload: Add hint about checking that the base URL is reachable
author Kim Alvefur <zash@zash.se>
date Thu, 29 Aug 2019 23:30:55 +0200
parents 3fb0add97cdb
children bb8a6df5ecba
comparison
equal deleted inserted replaced
3657:3fb0add97cdb 3658:02a1615d0392
403 return ""; 403 return "";
404 end; 404 end;
405 }; 405 };
406 }); 406 });
407 407
408 module:log("info", "URL: <%s>; Storage path: %s", module:http_url(), storage_path); 408 module:log("info", "URL: <%s> - Ensure this can be reached by users", module:http_url());
409 module:log("info", "Storage path: '%s'", storage_path);
409 410
410 function module.command(args) 411 function module.command(args)
411 datamanager = require "core.storagemanager".olddm; 412 datamanager = require "core.storagemanager".olddm;
412 -- luacheck: ignore 421/user 413 -- luacheck: ignore 421/user
413 if args[1] == "expire" then 414 if args[1] == "expire" then