aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/installer.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-03-05 12:00:31 +0100
committerChocobozzz <chocobozzz@cpy.re>2019-03-18 11:17:59 +0100
commit9c6ca37fc1512a99d420ea90707cebcd06cdc970 (patch)
tree2ef8e4c9bc30e911923a5b5c83f18e983553929d /server/initializers/installer.ts
parent09979f8959425390b879bce22101a9bc061ae9a0 (diff)
downloadPeerTube-9c6ca37fc1512a99d420ea90707cebcd06cdc970.tar.gz
PeerTube-9c6ca37fc1512a99d420ea90707cebcd06cdc970.tar.zst
PeerTube-9c6ca37fc1512a99d420ea90707cebcd06cdc970.zip
Rename streaming playlists routes/directories
Diffstat (limited to 'server/initializers/installer.ts')
-rw-r--r--server/initializers/installer.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/initializers/installer.ts b/server/initializers/installer.ts
index c669606f8..349d7afb7 100644
--- a/server/initializers/installer.ts
+++ b/server/initializers/installer.ts
@@ -6,7 +6,7 @@ import { UserModel } from '../models/account/user'
6import { ApplicationModel } from '../models/application/application' 6import { ApplicationModel } from '../models/application/application'
7import { OAuthClientModel } from '../models/oauth/oauth-client' 7import { OAuthClientModel } from '../models/oauth/oauth-client'
8import { applicationExist, clientsExist, usersExist } from './checker-after-init' 8import { applicationExist, clientsExist, usersExist } from './checker-after-init'
9import { CACHE, CONFIG, HLS_PLAYLIST_DIRECTORY, LAST_MIGRATION_VERSION } from './constants' 9import { CACHE, CONFIG, HLS_STREAMING_PLAYLIST_DIRECTORY, LAST_MIGRATION_VERSION } from './constants'
10import { sequelizeTypescript } from './database' 10import { sequelizeTypescript } from './database'
11import { remove, ensureDir } from 'fs-extra' 11import { remove, ensureDir } from 'fs-extra'
12 12
@@ -74,7 +74,7 @@ function createDirectoriesIfNotExist () {
74 } 74 }
75 75
76 // Playlist directories 76 // Playlist directories
77 tasks.push(ensureDir(HLS_PLAYLIST_DIRECTORY)) 77 tasks.push(ensureDir(HLS_STREAMING_PLAYLIST_DIRECTORY))
78 78
79 return Promise.all(tasks) 79 return Promise.all(tasks)
80} 80}