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

@@ -54,9 +54,6 @@ export const post: RequestHandler = async (event) => {
}
const publicPort = await getPort({ port: exposePort });
if (exposePort !== publicPort) {
throw { message: `Expose Port ${exposePort} is already in use` };
}
}
return {