mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 00:20:25 +00:00
Remove option for disabling webclient because it was confusing
This commit is contained in:
parent
a808c06a10
commit
cf890e9d43
1 changed files with 1 additions and 4 deletions
|
@ -29,7 +29,7 @@ class ServerConfig(Config):
|
|||
self.unsecure_port = args.unsecure_port
|
||||
self.daemonize = args.daemonize
|
||||
self.pid_file = self.abspath(args.pid_file)
|
||||
self.webclient = args.no_webclient
|
||||
self.webclient = True
|
||||
self.manhole = args.manhole
|
||||
|
||||
@classmethod
|
||||
|
@ -53,9 +53,6 @@ class ServerConfig(Config):
|
|||
server_group.add_argument('--pid-file', default="hs.pid",
|
||||
help="When running as a daemon, the file to"
|
||||
" store the pid in")
|
||||
server_group.add_argument("-W", "--no-webclient", default=True,
|
||||
action="store_false",
|
||||
help="Don't host a web client.")
|
||||
server_group.add_argument("--manhole", metavar="PORT", dest="manhole",
|
||||
type=int,
|
||||
help="Turn on the twisted telnet manhole"
|
||||
|
|
Loading…
Reference in a new issue