X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fcontrollers%2Fservices.ts;h=a58a5b8cf2b49a068de56f2480b2e39271198c4c;hb=ad9e39fb815d85e5e718c40540fa75471474fa17;hp=c272edccd5196256d93089544d7388e2f11cfd90;hpb=e8cb44090e654fda339506dccfcec7fea8722723;p=github%2FChocobozzz%2FPeerTube.git 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', asyncMiddleware(oembedValidator), generateOEmbed ) -servicesRouter.use('/redirect/accounts/:nameWithHost', +servicesRouter.use('/redirect/accounts/:accountName', asyncMiddleware(accountsNameWithHostGetValidator), redirectToAccountUrl )