aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/server/src/app.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/server/src/app.ts b/packages/server/src/app.ts
index 71fe107..deddf00 100644
--- a/packages/server/src/app.ts
+++ b/packages/server/src/app.ts
@@ -33,6 +33,7 @@ export default function buildApp(settings: Settings, dist_dir: string): FastifyI
}
fastify.addContentTypeParser("application/x-git-upload-pack-request", (req, payload, done) => done(null, payload));
+ fastify.addContentTypeParser("application/x-git-receive-pack-request", (req, payload, done) => done(null, payload));
fastify.register(api, { prefix: "/api/v1", config: { settings: settings } });