feat: Add PHP modules

This commit is contained in:
Andras Bacsai
2022-03-19 23:46:33 +01:00
parent e5537a33fb
commit e338cecc14
9 changed files with 187 additions and 11 deletions

View File

@@ -52,7 +52,8 @@ export const post: RequestHandler = async (event) => {
buildCommand,
startCommand,
baseDirectory,
publishDirectory
publishDirectory,
phpModules
} = await event.request.json();
if (port) port = Number(port);
@@ -68,7 +69,8 @@ export const post: RequestHandler = async (event) => {
buildCommand,
startCommand,
baseDirectory,
publishDirectory
publishDirectory,
phpModules
});
return { status: 201 };
} catch (error) {