remove comments

This commit is contained in:
Henrique Dias 2016-08-21 19:16:07 +01:00
parent 9b39fe78ba
commit c1290b149a

View File

@ -78,15 +78,12 @@ func Parse(c *caddy.Controller) ([]Config, error) {
cCfg = cfg.UserConfig
for c.NextBlock() {
switch c.Val() {
// GLOBAL ONLY OPTIONS
case "on":
if !c.NextArg() {
return configs, c.ArgErr()
}
baseURL = c.Val()
// USER SPECIFIC OR GLOBAL
case "frontmatter":
if !c.NextArg() {
return configs, c.ArgErr()
@ -240,10 +237,6 @@ func Parse(c *caddy.Controller) ([]Config, error) {
if err := appendConfig(cfg); err != nil {
return configs, err
}
fmt.Println(cfg.UserConfig)
fmt.Println(cfg.Users["user1"])
fmt.Println(cfg.Users["user2"])
}
return configs, nil