fix wrong large image path

This commit is contained in:
tmshv committed 2019-10-15 01:23:06 +03:00
1 parent 0ff7d40cb2
commit b5a36e663d
1 file changed
+1 -1
+1 -1
View File
@@ -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,