Skip to content

Commit e9c6c17

Browse files
committed
fix for .md
1 parent 824013d commit e9c6c17

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ WORKDIR /app
1414
COPY . .
1515

1616
# Run build tasks to generate css prod file
17+
ENV DATA_DIR=${DATA_DIR}
1718
RUN deno task build
1819

1920
CMD ["deno", "task", "start"]

src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ async function generateRSSFeed(host: string): Promise<Response> {
282282
entries.map(async (entry) => {
283283
try {
284284
// Read the markdown file for this entry
285-
const markdownPath = join(DATA_DIR, host, entry.slug, ".md");
285+
const markdownPath = join(DATA_DIR, host, entry.slug + ".md");
286286
console.log(">>> markdownPath", markdownPath);
287287
const markdown = await Deno.readTextFile(markdownPath);
288288

0 commit comments

Comments
 (0)