Просмотр исходного кода

Merge pull request #2459 from overleaf/hb-missing-rate-limiting

Remove unused v1 analytics proxy endpoints

GitOrigin-RevId: 7563a6592645bd4693e7a6bc209862435302893c
nate stemen 6 лет назад
Родитель
Сommit
13da4b6125
1 измененных файлов с 0 добавлено и 18 удалено
  1. 0 18
      services/web/app/src/Features/Analytics/AnalyticsRouter.js

+ 0 - 18
services/web/app/src/Features/Analytics/AnalyticsRouter.js

@@ -14,24 +14,6 @@ module.exports = {
       AnalyticsController.updateEditingSession
     )
 
-    publicApiRouter.use(
-      '/analytics/graphs',
-      AuthenticationController.httpAuth,
-      AnalyticsProxy.call('/graphs')
-    )
-
-    publicApiRouter.use(
-      '/analytics/recentTeamActivity',
-      AuthenticationController.httpAuth,
-      AnalyticsProxy.call('/recentTeamActivity')
-    )
-
-    publicApiRouter.use(
-      '/analytics/recentV1TemplateIdsActivity',
-      AuthenticationController.httpAuth,
-      AnalyticsProxy.call('/recentV1TemplateIdsActivity')
-    )
-
     publicApiRouter.use(
       '/analytics/uniExternalCollaboration',
       AuthenticationController.httpAuth,