Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix

Andras Bacsai76ba338b455a
diff --git a/src/lib/database/applications.ts b/src/lib/database/applications.ts
index b2d7ceacd0..79ee38876c 100644
--- a/src/lib/database/applications.ts
+++ b/src/lib/database/applications.ts
@@ -1,5 +1,4 @@
import { decrypt, encrypt } from '$lib/crypto';
-import { removeProxyConfiguration } from '$lib/haproxy';
import { asyncExecShell, getEngine } from '$lib/common';
import { getDomain, removeDestinationDocker } from '$lib/common';
diff --git a/src/routes/webhooks/github/events.ts b/src/routes/webhooks/github/events.ts
index 1be3358710..91ac4d3014 100644
--- a/src/routes/webhooks/github/events.ts
+++ b/src/routes/webhooks/github/events.ts
@@ -4,7 +4,7 @@ import type { RequestHandler } from '@sveltejs/kit';
import cuid from 'cuid';
import crypto from 'crypto';
import { buildQueue } from '$lib/queues';
-import { checkContainer, removeProxyConfiguration } from '$lib/haproxy';
+import { checkContainer } from '$lib/haproxy';
import { dev } from '$app/env';
export const options: RequestHandler = async () => {
@@ -154,7 +154,6 @@ export const post: RequestHandler = async (event) => {
const engine = applicationFound.destinationDocker.engine;
await removeDestinationDocker({ id, engine });
- await removeProxyConfiguration(fqdn);
}
return {
status: 200,
diff --git a/src/routes/webhooks/gitlab/events.ts b/src/routes/webhooks/gitlab/events.ts
index b1af61fd4a..b87e59395f 100644
--- a/src/routes/webhooks/gitlab/events.ts
+++ b/src/routes/webhooks/gitlab/events.ts
@@ -1,5 +1,5 @@
import { getTeam, getUserDetails, getDomain, removeDestinationDocker } from '$lib/common';
-import { checkContainer, removeProxyConfiguration } from '$lib/haproxy';
+import { checkContainer } from '$lib/haproxy';
import * as db from '$lib/database';
import type { RequestHandler } from '@sveltejs/kit';
import cuid from 'cuid';
@@ -151,7 +151,6 @@ export const post: RequestHandler = async (event) => {
const engine = applicationFound.destinationDocker.engine;
await removeDestinationDocker({ id, engine });
- await removeProxyConfiguration(fqdn);
}
return {