Skip to content

Commit

Permalink
working docs lp
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoRCD committed Jan 24, 2025
1 parent 71a513d commit 6b90eaa
Show file tree
Hide file tree
Showing 5 changed files with 3,534 additions and 122 deletions.
4 changes: 2 additions & 2 deletions lp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ENV NUXT_UI_PRO_LICENSE=$NUXT_UI_PRO_LICENSE
WORKDIR /app

COPY pnpm-lock.yaml package.json ./
COPY apps/lp/package.json ./apps/lp/package.json
COPY lp/package.json ./lp/package.json

COPY . .

Expand All @@ -26,7 +26,7 @@ FROM node:22.13.1-alpine AS final

WORKDIR /app

COPY --from=build /app/apps/lp/.output .output
COPY --from=build /app/lp/.output .output

RUN apk update && apk add --no-cache curl

Expand Down
2 changes: 1 addition & 1 deletion lp/app/pages/[...slug].vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { data: page } = await useAsyncData(route.path, () =>
queryCollection('content').path(route.path).first()
)
if (!page.value) {
throw createError({ statusCode: 404, statusMessage: 'Page not found', fatal: true })
throw createError({ statusCode: 404, statusMessage: `Page not found: ${route.path}`, fatal: true })
}
const { data: surround } = await useAsyncData(`${route.path}-surround`, () => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"typescript": "5.7.3"
},
"engines": {
"node": ">=22.13.1"
"node": ">=22.12.0"
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit 6b90eaa

Please sign in to comment.