Skip to content

Commit 877be4e

Browse files
committed
Fix boosthub preload script path for production
1 parent 21fa23b commit 877be4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/boosthub.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const boostHubIdlePageUrl = `${boostHubBaseUrl}/api/desktop/idle`
3939
export const boostHubPreloadUrl = formatUrl({
4040
pathname:
4141
process.env.NODE_ENV === 'production'
42-
? join(getPathByName('app'), './compiled/static/boosthub-preload.js')
42+
? join(getPathByName('app'), './compiled/app/static/boosthub-preload.js')
4343
: join(getPathByName('app'), '../static/boosthub-preload.js'),
4444
protocol: 'file',
4545
slashes: true,

0 commit comments

Comments
 (0)