From 8db19c959e437521db195e3cce96cb4386ed51c1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 12 Nov 2021 11:00:51 +0100 Subject: Remove contributors list from /about/peertube Some contributors don't want to be associated to a particular peertube instance --- server/controllers/client.ts | 6 ------ 1 file changed, 6 deletions(-) (limited to 'server/controllers/client.ts') diff --git a/server/controllers/client.ts b/server/controllers/client.ts index 86ac5fbbc..0a27ace76 100644 --- a/server/controllers/client.ts +++ b/server/controllers/client.ts @@ -84,12 +84,6 @@ clientsRouter.use('/client/*', (req: express.Request, res: express.Response) => res.status(HttpStatusCode.NOT_FOUND_404).end() }) -// No index exceptions -clientsRouter.all('/about/peertube', - disableRobots, - asyncMiddleware(serveIndexHTML) -) - // Always serve index client page (the client is a single page application, let it handle routing) // Try to provide the right language index.html clientsRouter.use('/(:language)?', asyncMiddleware(serveIndexHTML)) -- cgit v1.2.3