Fix audio uploading without preview

pull/2188/head
Chocobozzz 2019-10-18 12:03:32 +02:00
parent eba06469b7
commit fff2183df6
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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')
}
// ---------------------------------------------------------------------------