mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-18 23:38:18 +00:00
add 'web.ambient_upload_authority' as a paramater to tahoe.cfg
This commit is contained in:
@ -267,7 +267,9 @@ class Client(node.Node, pollmixin.PollMixin):
|
||||
nodeurl_path = os.path.join(self.basedir, "node.url")
|
||||
staticdir = self.get_config("node", "web.static", "public_html")
|
||||
staticdir = os.path.expanduser(staticdir)
|
||||
ws = WebishServer(webport, nodeurl_path, staticdir)
|
||||
# should we provide ambient upload authority?
|
||||
ambientUploadAuthority = self.get_config("node", "web.ambient_upload_authority", True, boolean=True)
|
||||
ws = WebishServer(webport, nodeurl_path, staticdir, ambientUploadAuthority)
|
||||
self.add_service(ws)
|
||||
|
||||
def init_ftp_server(self):
|
||||
|
Reference in New Issue
Block a user