mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 04:53:53 +01: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