File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,6 @@ ENV NODE_ENV production
59
59
RUN addgroup --system --gid 1001 nodejs
60
60
RUN adduser --system --uid 1001 nextjs
61
61
62
- COPY --from=builder --link /srv/app/public ./public
63
-
64
62
# Automatically leverage output traces to reduce image size
65
63
# https://nextjs.org/docs/advanced-features/output-file-tracing
66
64
COPY --from=builder --link --chown=nextjs:nodejs /srv/app/.next/standalone ./
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export const getLegalData = async (
17
17
) ;
18
18
19
19
const matterResult = matter ( fileContents ) ;
20
-
20
+ marked . setOptions ( { mangle : false , headerIds : false } ) ;
21
21
const processedContent = await marked ( matterResult . content , { async : true } ) ;
22
22
23
23
const contentHtml = processedContent ?. toString ( ) ;
You can’t perform that action at this time.
0 commit comments