all repos — elgit @ 462c7ddc70f7c4da9515298439246f3b40b244f5

fork of legit: web frontend for git, written in go

config: server host and port

commit

462c7ddc70f7c4da9515298439246f3b40b244f5

parent

60e1092dbcfacb28b30d052b0f73d2249cd63a9d

1 file changed, 4 insertions(+), 0 deletions(-)

changed files
M config/config.goconfig/config.go
@@ -19,6 +19,10 @@ Meta struct {
Title string `yaml:"title"` Description string `yaml:"description"` } `yaml:"meta"` + Server struct { + Host string `yaml:"host"` + Port int `yaml:"port"` + } `yaml:"server"` } func Read(f string) (*Config, error) {