feat: add base caddyfile content to mappings.ts

This commit is contained in:
2026-09-28 16:45:21 +05:30
parent 85d2b596df
commit 73420fe654
2 changed files with 8 additions and 6 deletions
+2 -6
View File
@@ -1,12 +1,8 @@
import { writeFileSync } from "fs"
import mappings from "./mappings"
import mappings, { baseCaddyfile } from "./mappings"
let caddyfile = `# Caddyfile
hy-pr.link {
redir /silicoflare https://silicoflare.dev
redir /flare https://silicoflare.dev
}
${baseCaddyfile}
`
Object.entries(mappings).map(([key, value]) => {