diff --git a/client/Dockerfile b/client/Dockerfile index 58681b6eb..e3b56feb9 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -46,6 +46,6 @@ EXPOSE 3000 ENV PORT 3000 HEALTHCHECK --interval=30s --timeout=20s --retries=3 --start-period=15s \ - CMD curl -fSs 127.0.0.1:3000 || exit 1 + CMD curl -fSs localhost:3000 || exit 1 CMD [ "pnpm", "run", "start", "--filter", "client" ] \ No newline at end of file diff --git a/client/components/build/Center/Page.tsx b/client/components/build/Center/Page.tsx index bcdcd398d..f94d5ba5e 100644 --- a/client/components/build/Center/Page.tsx +++ b/client/components/build/Center/Page.tsx @@ -26,8 +26,8 @@ const Page: React.FC = ({ page, showPageNumbers = false }) => { const theme: ThemeConfig = get(resume, 'metadata.theme'); const customCSS: CustomCSS = get(resume, 'metadata.css'); const template: string = get(resume, 'metadata.template'); - const pageConfig: PageConfig = get(resume, 'metadata.page'); const typography: Typography = get(resume, 'metadata.typography'); + const pageConfig: PageConfig = get(resume, 'metadata.page', {} as PageConfig); const themeCSS = useMemo(() => !isEmpty(theme) && generateThemeStyles(theme), [theme]); const typographyCSS = useMemo(() => !isEmpty(typography) && generateTypographyStyles(typography), [typography]); diff --git a/client/components/build/LeftSidebar/LeftSidebar.tsx b/client/components/build/LeftSidebar/LeftSidebar.tsx index e24613849..1c56f8cdf 100644 --- a/client/components/build/LeftSidebar/LeftSidebar.tsx +++ b/client/components/build/LeftSidebar/LeftSidebar.tsx @@ -111,9 +111,7 @@ const LeftSidebar = () => {