File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
apps/meteor/app/api/server Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -42,9 +42,6 @@ const createApi = function _createApi(options: { version?: string; useDefaultAut
4242export const API : {
4343 api : Router < '/api' , any , APIActionHandler > ;
4444 v1 : APIClass < '/v1' > ;
45- _matrix : Router < '/_matrix' , any , APIActionHandler > ;
46- wellKnown : Router < '/.well-known' , any , APIActionHandler > ;
47- matrixInternal : Router < '/internal' , any , APIActionHandler > ;
4845 default : APIClass ;
4946 ApiClass : typeof APIClass ;
5047 channels ?: {
@@ -76,9 +73,6 @@ export const API: {
7673 version : 'v1' ,
7774 useDefaultAuth : true ,
7875 } ) ,
79- _matrix : new RocketChatAPIRouter ( '/_matrix' ) ,
80- wellKnown : new RocketChatAPIRouter ( '/.well-known' ) ,
81- matrixInternal : new RocketChatAPIRouter ( '/internal' ) ,
8276 default : createApi ( { } ) ,
8377} ;
8478
@@ -106,7 +100,6 @@ settings.watch<number>('API_Enable_Rate_Limiter_Limit_Calls_Default', (value) =>
106100} ) ;
107101
108102export const startRestAPI = ( ) => {
109- // Register main API routes under /api prefix
110103 ( WebApp . rawConnectHandlers as unknown as ReturnType < typeof express > ) . use (
111104 API . api
112105 . use ( remoteAddressMiddleware )
You can’t perform that action at this time.
0 commit comments