mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Prefer handle param name
This commit is contained in:
parent
6f68db1be9
commit
e7753c1b62
16 changed files with 63 additions and 80 deletions
|
@ -8,7 +8,6 @@ import { ActorHtml } from './shared/actor-html.js'
|
|||
import { PageHtml } from './shared/page-html.js'
|
||||
|
||||
class ClientHtml {
|
||||
|
||||
static invalidateCache () {
|
||||
PageHtml.invalidateCache()
|
||||
}
|
||||
|
@ -39,16 +38,16 @@ class ClientHtml {
|
|||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
static getAccountHTMLPage (nameWithHost: string, req: express.Request, res: express.Response) {
|
||||
return ActorHtml.getAccountHTMLPage(nameWithHost, req, res)
|
||||
static getAccountHTMLPage (handle: string, req: express.Request, res: express.Response) {
|
||||
return ActorHtml.getAccountHTMLPage(handle, req, res)
|
||||
}
|
||||
|
||||
static getVideoChannelHTMLPage (nameWithHost: string, req: express.Request, res: express.Response) {
|
||||
return ActorHtml.getVideoChannelHTMLPage(nameWithHost, req, res)
|
||||
static getVideoChannelHTMLPage (handle: string, req: express.Request, res: express.Response) {
|
||||
return ActorHtml.getVideoChannelHTMLPage(handle, req, res)
|
||||
}
|
||||
|
||||
static getActorHTMLPage (nameWithHost: string, req: express.Request, res: express.Response) {
|
||||
return ActorHtml.getActorHTMLPage(nameWithHost, req, res)
|
||||
static getActorHTMLPage (handle: string, req: express.Request, res: express.Response) {
|
||||
return ActorHtml.getActorHTMLPage(handle, req, res)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue