dont expose self in caddy
This commit is contained in:
@@ -12,6 +12,7 @@ export const rebuildCaddyfile = async () => {
|
|||||||
await $`rm ${caddyfilePath("deployer2")}`.nothrow();
|
await $`rm ${caddyfilePath("deployer2")}`.nothrow();
|
||||||
|
|
||||||
const Caddyfile = Object.values(indexedConfig)
|
const Caddyfile = Object.values(indexedConfig)
|
||||||
|
.filter(({ user, repo }) => `${user}/${repo}` != "drm/deployer2")
|
||||||
.map(
|
.map(
|
||||||
({ host, port }) => `
|
({ host, port }) => `
|
||||||
${host}.drm.dev {
|
${host}.drm.dev {
|
||||||
|
|||||||
Reference in New Issue
Block a user