diff options
Diffstat (limited to 'packages/server/src/app.ts')
-rw-r--r-- | packages/server/src/app.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/server/src/app.ts b/packages/server/src/app.ts index 810ca65..d5f63b0 100644 --- a/packages/server/src/app.ts +++ b/packages/server/src/app.ts @@ -1,5 +1,5 @@ import { readFileSync, readdirSync } from "fs"; -import { Git } from "./api/git"; +import { GitAPI } from "./api/git"; import api from "./api/v1"; import { exit } from "process"; import { fastify as fastifyFactory } from "fastify"; @@ -50,7 +50,7 @@ if(settings.production) { } const fastify = fastifyFactory(); -const git = new Git(settings.base_dir); +const git = new GitAPI(settings.base_dir); fastify.setNotFoundHandler({}, function(req, reply) { reply.code(404).send("Page not found!"); |