-
- {
+ showExposePort = !showExposePort;
+ application.exposePort = undefined;
+ }}
+ title={$t('application.expose_a_port')}
+ description="Expose a port to the host system"
/>
+
+ {#if showExposePort}
+
+
+
+
+ {/if}
{/if}
{#if !notNodeDeployments.includes(application.buildPack)}
diff --git a/src/routes/services/[id]/wordpress/settings.json.ts b/src/routes/services/[id]/wordpress/settings.json.ts
index 4f9c1f9b2..cee85bc41 100644
--- a/src/routes/services/[id]/wordpress/settings.json.ts
+++ b/src/routes/services/[id]/wordpress/settings.json.ts
@@ -8,7 +8,6 @@ import type { ComposeFile } from '$lib/types/composeFile';
import type { RequestHandler } from '@sveltejs/kit';
import cuid from 'cuid';
import fs from 'fs/promises';
-import getPort, { portNumbers } from 'get-port';
import yaml from 'js-yaml';
export const post: RequestHandler = async (event) => {