"...xcode/xcshareddata/xcschemes/NewGroupFeature.xcscheme" did not exist on "bc69f0f25f3d4b3cd08802ac2e4a392292fc8c06"
Newer
Older
////////////////////////////////////////////////////////////////////////////////
// Copyright © 2022 xx foundation //
// //
// Use of this source code is governed by a license that can be found in the //
// LICENSE file. //
////////////////////////////////////////////////////////////////////////////////
package main
import (
"fmt"
"net/http"
root := "clients"
if len(os.Args) > 1 {
port = os.Args[1]
}
if len(os.Args) > 2 {
root = os.Args[2]
}
fmt.Printf("Starting server on port %s from %s\n", port, root)
fmt.Printf("\thttp://localhost:%s\n", port)
err := http.ListenAndServe(":"+port, http.FileServer(http.Dir(root)))
if err != nil {
panic(fmt.Sprintf("Failed to start server: %+v", err))
}
}