feat: default playground path to "/app/playground"
This commit is contained in:
@@ -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 != "" {
|
||||||
|
Reference in New Issue
Block a user