refactor(caddy): разделить site-блоки по хостам под переезд #3062
2 changed files with 2 additions and 4 deletions
|
|
@ -71,8 +71,7 @@ function readEffectiveCaddyConfig(repoRoot: string): string {
|
|||
.filter((f) => f.endsWith(".caddy"))
|
||||
.sort()
|
||||
.map((f) => readFileSync(path.join(sitesDir, f), "utf8"));
|
||||
return [readFileSync(path.join(repoRoot, "Caddyfile"), "utf8"), ...siteFiles].join("
|
||||
");
|
||||
return [readFileSync(path.join(repoRoot, "Caddyfile"), "utf8"), ...siteFiles].join("\n");
|
||||
}
|
||||
|
||||
describe("короткие адреса публичного домена", () => {
|
||||
|
|
|
|||
|
|
@ -35,8 +35,7 @@ function readEffectiveCaddyConfig(repoRoot: string): string {
|
|||
.filter((f) => f.endsWith(".caddy"))
|
||||
.sort()
|
||||
.map((f) => readFileSync(path.join(sitesDir, f), "utf8"));
|
||||
return [readFileSync(path.join(repoRoot, "Caddyfile"), "utf8"), ...siteFiles].join("
|
||||
");
|
||||
return [readFileSync(path.join(repoRoot, "Caddyfile"), "utf8"), ...siteFiles].join("\n");
|
||||
}
|
||||
|
||||
describe("isPublicPath", () => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue