Add /v1 prefix to provisioning API by default

This commit is contained in:
Tulir Asokan
2018-07-14 23:15:28 +03:00
parent 4cef2be0db
commit cea5210290
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ appservice:
# Whether or not the provisioning API should be enabled.
enabled: true
# The prefix to use in the provisioning API endpoints.
prefix: /_matrix/provision
prefix: /_matrix/provision/v1
# The shared secret to authorize users of the API.
# If you leave the default token, a random token will be generated and saved at startup.
shared_secret: "Very secret shared secret"
+1 -1
View File
@@ -12,7 +12,7 @@ externalDocs:
description: Provisioning API wiki page on GitHub
url: https://github.com/tulir/mautrix-telegram/wiki/Provisioning-API
basePath: /_matrix/provision
basePath: /_matrix/provision/v1
schemes: [https]
consumes: [application/json]