Removed some checking that doesn't work properly. Added a switch for exposing a port.

This commit is contained in:
Aaron Styles
2022-04-30 21:34:00 +10:00
parent c98ed5338a
commit 40cbee0d75
6 changed files with 25 additions and 37 deletions

View File

@@ -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) => {