Skip to content

Commit a6c5f22

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2963bfd commit a6c5f22

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import remarkToc from "remark-toc";
88
import rehypeSlug from "rehype-slug";
99
import rehypeAutolinkHeadings from "rehype-autolink-headings";
1010
import metaTags from "astro-meta-tags";
11-
import publicDir from 'astro-public';
11+
import publicDir from "astro-public";
1212

1313
// https://astro.build/config
1414
export default defineConfig({

scripts/generate-redirect-html.cjs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,9 @@ const htmlContent = `<!DOCTYPE html>
3030
<body></body>
3131
</html>`;
3232

33-
fs.writeFileSync(path.join(GENERATED_DIR, "redirect.html"), htmlContent, "utf-8");
33+
fs.writeFileSync(
34+
path.join(GENERATED_DIR, "redirect.html"),
35+
htmlContent,
36+
"utf-8"
37+
);
3438
console.log("✅ redirect.html generated successfully!");

0 commit comments

Comments
 (0)