mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 18:29:27 +02:00
Begin to add avatar to actors
This commit is contained in:
parent
8b0d42ee37
commit
c5911fd347
41 changed files with 498 additions and 177 deletions
|
@ -32,6 +32,12 @@ staticRouter.use(
|
|||
express.static(thumbnailsPhysicalPath, { maxAge: STATIC_MAX_AGE })
|
||||
)
|
||||
|
||||
const avatarsPhysicalPath = CONFIG.STORAGE.AVATARS_DIR
|
||||
staticRouter.use(
|
||||
STATIC_PATHS.AVATARS,
|
||||
express.static(avatarsPhysicalPath, { maxAge: STATIC_MAX_AGE })
|
||||
)
|
||||
|
||||
// Video previews path for express
|
||||
staticRouter.use(
|
||||
STATIC_PATHS.PREVIEWS + ':uuid.jpg',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue