diff options
-rwxr-xr-x | scripts/build/server.sh | 2 | ||||
-rw-r--r-- | server/initializers/constants.ts | 2 |
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 | |||
5 | rm -rf ./dist | 5 | rm -rf ./dist |
6 | 6 | ||
7 | npm run tsc | 7 | npm run tsc |
8 | cp -r "./server/static" "./dist/server" | 8 | cp -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 = { | |||
576 | const ACCEPT_HEADERS = [ 'html', 'application/json' ].concat(ACTIVITY_PUB.POTENTIAL_ACCEPT_HEADERS) | 576 | const ACCEPT_HEADERS = [ 'html', 'application/json' ].concat(ACTIVITY_PUB.POTENTIAL_ACCEPT_HEADERS) |
577 | 577 | ||
578 | const ASSETS_PATH = { | 578 | const 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 | // --------------------------------------------------------------------------- |