Skip to content

Commit

Permalink
change dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
curly210102 committed Nov 5, 2021
1 parent 1371464 commit dc4a4ce
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Empty file added email/a/README.md
Empty file.
2 changes: 1 addition & 1 deletion pages/api/contact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function handler(
};

(typeof slugs === "string" ? [slugs] : slugs).forEach((slug: string) => {
const templateDirectory = resolve(process.cwd(), "extensions");
const templateDirectory = resolve(process.cwd(), "email");
const emailTemplate = readFileSync(
join(templateDirectory, slug, "README.md"),
"utf8"
Expand Down
2 changes: 1 addition & 1 deletion vercel.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"functions": {
"pages/api/contact.ts": {
"includeFiles": "extensions/**/README.md"
"includeFiles": "email/**/README.md"
}
}
}

0 comments on commit dc4a4ce

Please sign in to comment.