mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 14:27:30 +00:00
add web hook under api temporarily
This commit is contained in:
@@ -41,8 +41,8 @@ import {
|
|||||||
signup as v1SignupRouter,
|
signup as v1SignupRouter,
|
||||||
userAction as v1UserActionRouter,
|
userAction as v1UserActionRouter,
|
||||||
user as v1UserRouter,
|
user as v1UserRouter,
|
||||||
workspace as v1WorkspaceRouter,
|
webhooks as v1WebhooksRouter,
|
||||||
webhooks as v1WebhooksRouter
|
workspace as v1WorkspaceRouter
|
||||||
} from "./routes/v1";
|
} from "./routes/v1";
|
||||||
import {
|
import {
|
||||||
auth as v2AuthRouter,
|
auth as v2AuthRouter,
|
||||||
@@ -105,7 +105,7 @@ const main = async () => {
|
|||||||
smee.start()
|
smee.start()
|
||||||
}
|
}
|
||||||
|
|
||||||
app.use(createNodeMiddleware(GithubSecretScanningService, { probot, webhooksPath: "/ss-webhook" })); // secret scanning webhook
|
app.use(createNodeMiddleware(GithubSecretScanningService, { probot, webhooksPath: "api/ss-webhook" })); // secret scanning webhook
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((await getNodeEnv()) === "production") {
|
if ((await getNodeEnv()) === "production") {
|
||||||
|
|||||||
Reference in New Issue
Block a user