fix: Service checks

This commit is contained in:
Andras Bacsai
2022-05-11 11:02:21 +02:00
parent e452f68614
commit c917135bd3
3 changed files with 27 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ export const post: RequestHandler = async (event) => {
exposePort = Number(exposePort);
if (exposePort < 1024 || exposePort > 65535) {
throw { message: `Expose Port needs to be between 1024 and 65535.` };
throw { message: `Exposed Port needs to be between 1024 and 65535.` };
}
const publicPort = await getPort({ port: exposePort });