mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix audio uploading without preview
This commit is contained in:
@@ -5,4 +5,4 @@ set -eu
|
||||
rm -rf ./dist
|
||||
|
||||
npm run tsc
|
||||
cp -r "./server/static" "./dist/server"
|
||||
cp -r "./server/static" "./server/assets" "./dist/server"
|
||||
|
||||
@@ -576,7 +576,7 @@ const REDUNDANCY = {
|
||||
const ACCEPT_HEADERS = [ 'html', 'application/json' ].concat(ACTIVITY_PUB.POTENTIAL_ACCEPT_HEADERS)
|
||||
|
||||
const ASSETS_PATH = {
|
||||
DEFAULT_AUDIO_BACKGROUND: join(root(), 'server', 'assets', 'default-audio-background.jpg')
|
||||
DEFAULT_AUDIO_BACKGROUND: join(root(), 'dist', 'server', 'assets', 'default-audio-background.jpg')
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user