We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cc7ea51 + ce703ef commit 0e5fc58Copy full SHA for 0e5fc58
1 file changed
apps/dokploy/pages/api/deploy/github.ts
@@ -28,6 +28,11 @@ export default async function handler(
28
res: NextApiResponse,
29
) {
30
const signature = req.headers["x-hub-signature-256"];
31
+ if (!signature) {
32
+ res.status(401).json({ message: "Missing signature header" });
33
+ return;
34
+ }
35
+
36
const githubBody = req.body;
37
38
if (!githubBody?.installation?.id) {
0 commit comments