aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xscripts/build/server.sh2
-rw-r--r--server/initializers/constants.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/server.sh b/scripts/build/server.sh
index 8a1d4ca9a..3880ac5fa 100755
--- a/scripts/build/server.sh
+++ b/scripts/build/server.sh
@@ -5,4 +5,4 @@ set -eu
5rm -rf ./dist 5rm -rf ./dist
6 6
7npm run tsc 7npm run tsc
8cp -r "./server/static" "./dist/server" 8cp -r "./server/static" "./server/assets" "./dist/server"
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// ---------------------------------------------------------------------------