mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-17 12:33:06 +00:00
Update api.ts
This commit is contained in:
@@ -24,7 +24,7 @@ export function getWebhookUrl(type: string) {
|
||||
}
|
||||
}
|
||||
if (CODESANDBOX_HOST) {
|
||||
const newURL = CODESANDBOX_HOST.replace(/\$PORT/,'3001')
|
||||
const newURL = `https://${CODESANDBOX_HOST.replace(/\$PORT/,'3001')}`
|
||||
if (type === 'github') {
|
||||
return `${newURL}/webhooks/github/events`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user