fix wrong large image path
This commit is contained in:
1 parent
0ff7d40cb2
commit
b5a36e663d
1 file changed
+1
-1
@@ -56,7 +56,7 @@ Page.getInitialProps = wrapInitialProps(async (ctx) => {
|
|||||||
const title = 'Преподаватели Шлиссельбургской ДХШ'
|
const title = 'Преподаватели Шлиссельбургской ДХШ'
|
||||||
const imageFile = 'Images/HudozkaCollective2017.jpg'
|
const imageFile = 'Images/HudozkaCollective2017.jpg'
|
||||||
const resImage = await requestGet(createApiUrl(ctx.req, `/api/image?file=${imageFile}`), null)
|
const resImage = await requestGet(createApiUrl(ctx.req, `/api/image?file=${imageFile}`), null)
|
||||||
const image = get(resImage, 'data.artifacts.large', null)
|
const image = get(resImage, 'artifacts.large', null)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
persons,
|
persons,
|
||||||
|
|||||||
Reference in new issue
Block a user