feat: default playground path to "/app/playground"

This commit is contained in:
Max Richter
2025-10-05 23:55:44 +02:00
parent 0970a662b8
commit 76848b396c

View File

@@ -24,7 +24,7 @@ func main() {
var roots multi var roots multi
flag.Var(&roots, "root", "repeatable; specify multiple -root flags") flag.Var(&roots, "root", "repeatable; specify multiple -root flags")
addr := flag.String("addr", ":8080", "listen address") addr := flag.String("addr", ":8080", "listen address")
playgroundRoot := flag.String("playground-root", "", "path to playground build directory") playgroundRoot := flag.String("playground-root", "/app/playground", "path to playground build directory")
flag.Parse() flag.Parse()
if *playgroundRoot != "" { if *playgroundRoot != "" {