mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Make the /set part mandatory
This commit is contained in:
parent
44891b4a0a
commit
a04c076b7f
@ -64,7 +64,7 @@ class PushersRestServlet(ClientV1RestServlet):
|
||||
|
||||
|
||||
class PushersSetRestServlet(ClientV1RestServlet):
|
||||
PATTERNS = client_path_patterns("/pushers(/set)?$")
|
||||
PATTERNS = client_path_patterns("/pushers/set$")
|
||||
|
||||
def __init__(self, hs):
|
||||
super(PushersSetRestServlet, self).__init__(hs)
|
||||
|
Loading…
Reference in New Issue
Block a user