He add a file “glitch.json” and put
{
“start”:“php -S 0.0.0.0:3000 -t .”,
“install”:“echo ‘we are ready!’”
}
in
He add a file “glitch.json” and put
{
“start”:“php -S 0.0.0.0:3000 -t .”,
“install”:“echo ‘we are ready!’”
}
in
to be a bit more exact, a glitch.json file
i can explain what it does
and here is that explanation:
-S runs a web server at the desired port (the site:3000)
-t declares the root of the site, in this case .
The issue resolved when I put the code like this:
{
"install": "echo 'No install needed'",
"start": "php -S 0.0.0.0:${PORT} -t public"
}
u forgot a "
lol
…
Ohhh…That was so silly of me!