feat: add base caddyfile content to mappings.ts
This commit is contained in:
@@ -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]) => {
|
||||
|
||||
Reference in New Issue
Block a user