aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-10-18 12:03:32 +0200
committerChocobozzz <me@florianbigard.com>2019-10-18 12:03:32 +0200
commitfff2183df6129362ad50941d4d1979d4aa292801 (patch)
tree77ed3ca604e433398d26cfded3f551d0abf1c4de /server/initializers
parenteba06469b70ffd722532881e40574d2a38a2a19b (diff)
downloadPeerTube-fff2183df6129362ad50941d4d1979d4aa292801.tar.gz
PeerTube-fff2183df6129362ad50941d4d1979d4aa292801.tar.zst
PeerTube-fff2183df6129362ad50941d4d1979d4aa292801.zip
Fix audio uploading without preview
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 0e06496bc..10f95f5ab 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -576,7 +576,7 @@ const REDUNDANCY = {
576const ACCEPT_HEADERS = [ 'html', 'application/json' ].concat(ACTIVITY_PUB.POTENTIAL_ACCEPT_HEADERS) 576const ACCEPT_HEADERS = [ 'html', 'application/json' ].concat(ACTIVITY_PUB.POTENTIAL_ACCEPT_HEADERS)
577 577
578const ASSETS_PATH = { 578const ASSETS_PATH = {
579 DEFAULT_AUDIO_BACKGROUND: join(root(), 'server', 'assets', 'default-audio-background.jpg') 579 DEFAULT_AUDIO_BACKGROUND: join(root(), 'dist', 'server', 'assets', 'default-audio-background.jpg')
580} 580}
581 581
582// --------------------------------------------------------------------------- 582// ---------------------------------------------------------------------------