Skip to content

Commit 2db1734

Browse files
Case sensitivity and package name
1 parent a22d287 commit 2db1734

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "purplepersonas",
2+
"name": "purpleinterviews",
33
"version": "0.0.1",
44
"scripts": {
55
"dev": "svelte-kit dev",

src/routes/[slug].json.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type { RequestHandler } from '@sveltejs/kit';
66
export const get: RequestHandler = async ({ params }) => {
77
const { slug } = params;
88

9-
const fileContents = await fs.readFile(`src/Interviews/${slug}.md`, { encoding: 'utf8' });
9+
const fileContents = await fs.readFile(`src/interviews/${slug}.md`, { encoding: 'utf8' });
1010

1111
const { metadata, content } = await process(fileContents);
1212
const body = JSON.stringify({ metadata, content });

src/routes/index.json.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { join } from 'path';
33
import { MarkdownMetadata, process } from '$lib/markdown';
44
import type { RequestHandler } from '@sveltejs/kit';
55

6-
const InterviewFileDir = 'src/Interviews';
6+
const InterviewFileDir = 'src/interviews';
77

88
export interface InterviewDefinition {
99
metadata: MarkdownMetadata;

0 commit comments

Comments
 (0)