|
@@ -22,6 +22,7 @@ import React, { useContext, useMemo, PropsWithChildren } from 'react'
|
|
|
|
|
|
import { ContainerContext } from '../ContainerContext'
|
|
|
import { SlideContext } from './SlideContext'
|
|
|
+import { ASSETS_HOST } from 'app/globalConstants'
|
|
|
|
|
|
const SlideContent: React.RefForwardingComponent<
|
|
|
HTMLDivElement,
|
|
@@ -49,7 +50,7 @@ const SlideContent: React.RefForwardingComponent<
|
|
|
backgroundStyle.backgroundColor = `rgba(${rgb})`
|
|
|
}
|
|
|
if (backgroundImage) {
|
|
|
- backgroundStyle.backgroundImage = `url("${backgroundImage}")`
|
|
|
+ backgroundStyle.backgroundImage = `url("${ASSETS_HOST}${backgroundImage}")`
|
|
|
}
|
|
|
// to adjust full screen style in mobile
|
|
|
const setStyleToBody =
|