Skip to content

Commit 4b4983b

Browse files
committed
attempt to fix marked warning
1 parent 4c2fbaf commit 4b4983b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

pwa/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ ENV NODE_ENV production
5959
RUN addgroup --system --gid 1001 nodejs
6060
RUN adduser --system --uid 1001 nextjs
6161

62-
COPY --from=builder --link /srv/app/public ./public
63-
6462
# Automatically leverage output traces to reduce image size
6563
# https://nextjs.org/docs/advanced-features/output-file-tracing
6664
COPY --from=builder --link --chown=nextjs:nodejs /srv/app/.next/standalone ./

pwa/api/con/legal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const getLegalData = async (
1717
);
1818

1919
const matterResult = matter(fileContents);
20-
20+
marked.setOptions({ mangle: false, headerIds: false });
2121
const processedContent = await marked(matterResult.content, { async: true });
2222

2323
const contentHtml = processedContent?.toString();

0 commit comments

Comments
 (0)