diff options
Diffstat (limited to 'server/controllers/services.ts')
-rw-r--r-- | server/controllers/services.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/services.ts b/server/controllers/services.ts index c272edccd..a58a5b8cf 100644 --- a/server/controllers/services.ts +++ b/server/controllers/services.ts | |||
@@ -10,7 +10,7 @@ servicesRouter.use('/oembed', | |||
10 | asyncMiddleware(oembedValidator), | 10 | asyncMiddleware(oembedValidator), |
11 | generateOEmbed | 11 | generateOEmbed |
12 | ) | 12 | ) |
13 | servicesRouter.use('/redirect/accounts/:nameWithHost', | 13 | servicesRouter.use('/redirect/accounts/:accountName', |
14 | asyncMiddleware(accountsNameWithHostGetValidator), | 14 | asyncMiddleware(accountsNameWithHostGetValidator), |
15 | redirectToAccountUrl | 15 | redirectToAccountUrl |
16 | ) | 16 | ) |