feat: add PHP template
This commit is contained in:
committed by
James Murdza
parent
a293d98a21
commit
4db378b5f1
@ -75,7 +75,13 @@ export class Sandbox {
|
||||
} else {
|
||||
console.log("Creating container", this.sandboxId)
|
||||
// Create a new container with a specified template and timeout
|
||||
const templateTypes = ["vanillajs", "reactjs", "nextjs", "streamlit"]
|
||||
const templateTypes = [
|
||||
"vanillajs",
|
||||
"reactjs",
|
||||
"nextjs",
|
||||
"streamlit",
|
||||
"php",
|
||||
]
|
||||
const template = templateTypes.includes(this.type)
|
||||
? `gitwit-${this.type}`
|
||||
: `base`
|
||||
|
Reference in New Issue
Block a user