diff --git a/dev/devcam/server.go b/dev/devcam/server.go index 5bd2145d2..2c463671c 100644 --- a/dev/devcam/server.go +++ b/dev/devcam/server.go @@ -364,6 +364,5 @@ func (c *serverCmd) RunCommand(args []string) error { return fmt.Errorf("Could not start camlistored: %v", err) } go handleSignals(cmd.Process) - cmd.Wait() - return nil + return cmd.Wait() } diff --git a/server/camlistored/camlistored.go b/server/camlistored/camlistored.go index ed759a1f7..842f63ca6 100644 --- a/server/camlistored/camlistored.go +++ b/server/camlistored/camlistored.go @@ -217,6 +217,7 @@ type defaultConfigFile struct { BlobPath string `json:"blobPath"` MySQL string `json:"mysql"` Mongo string `json:"mongo"` + Postgres string `json:"postgres"` SQLite string `json:"sqlite"` S3 string `json:"s3"` ReplicateTo []interface{} `json:"replicateTo"` diff --git a/website/camweb.go b/website/camweb.go index be48df68b..cc56656d7 100644 --- a/website/camweb.go +++ b/website/camweb.go @@ -188,7 +188,7 @@ func mainHandler(rw http.ResponseWriter, req *http.Request) { if strings.HasPrefix(relPath, "gw/") { path := relPath[3:] - http.Redirect(rw, req, "https://camlistore.googlesource.com/camlistore/+/HEAD/"+path, http.StatusFound) + http.Redirect(rw, req, "https://camlistore.googlesource.com/camlistore/+/"+path, http.StatusFound) return }