blob: 615b53ab306971b4634b998da58882b04af1b80e [file] [log] [blame]
// Copyright 2017 The Upspin Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Frontend provides a web server that serves documentation and meta
// tags to instruct "go get" where to find the Upspin source repository.
//
// The -local flag is for running a local binary, such as for testing the
// documentation. With this flag set, frontend ignores the config file, runs HTTP
// only on localhost:8080 and does not serve release binaries.
package main // import "upspin.io/cmd/frontend"
import (
"upspin.io/cloud/https"
"upspin.io/serverutil/frontend"
)
func main() {
frontend.Main()
https.ListenAndServeFromFlags(nil)
}