Blame · Line-by-line history
index.ts
Each line is annotated with the commit that last touched it. Click any SHA to jump to that commit and see the surrounding change.
| fc1817a | 1 | import { mkdir } from "fs/promises"; |
| 2 | import app from "./app"; | |
| 3 | import { config } from "./lib/config"; | |
| 4 | ||
| 5 | // Ensure repos directory exists | |
| 6 | await mkdir(config.gitReposPath, { recursive: true }); | |
| 7 | ||
| 8 | console.log(` | |
| 9 | gluecron v0.1.0 | |
| 10 | ────────────────────── | |
| 11 | http://localhost:${config.port} | |
| 12 | repos: ${config.gitReposPath} | |
| 13 | `); | |
| 14 | ||
| 15 | export default { | |
| 16 | port: config.port, | |
| 17 | fetch: app.fetch, | |
| 18 | }; |