Skip to content

Commit a1ad0a3

Browse files
feat: add health check to create-caddyfile.js (#483)
1 parent 0b25f2e commit a1ad0a3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/create-caddyfile.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ const caddyfileHeader = `
1616
http:// {
1717
redir https://{host}{uri} permanent
1818
}
19+
20+
www.freecodecamp.rocks {
21+
handle /ping {
22+
respond "pong" 200
23+
}
24+
}
1925
`;
2026

2127
let caddyfile = caddyfileHeader;

0 commit comments

Comments
 (0)