mirror of https://github.com/Chocobozzz/PeerTube
Fix audio uploading without preview
parent
eba06469b7
commit
fff2183df6
|
@ -5,4 +5,4 @@ set -eu
|
||||||
rm -rf ./dist
|
rm -rf ./dist
|
||||||
|
|
||||||
npm run tsc
|
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 ACCEPT_HEADERS = [ 'html', 'application/json' ].concat(ACTIVITY_PUB.POTENTIAL_ACCEPT_HEADERS)
|
||||||
|
|
||||||
const ASSETS_PATH = {
|
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')
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue