diff --git a/config.go b/config.go index 090d40d..c1a9ddf 100644 --- a/config.go +++ b/config.go @@ -23,7 +23,7 @@ func getconf () Config { prefix += "/local" } - cnf.configpath = "/etc/hozonsite.json" + cnf.configpath = "/etc/hozonsite/config.json" //_, err = os.Stat(cnf.configpath) cnf.datapath = prefix + "/share/hozonsite" diff --git a/config.json b/config.json new file mode 100644 index 0000000..f4c5703 --- /dev/null +++ b/config.json @@ -0,0 +1,4 @@ +{ + "webpath": "/var/www/htdocs/hozonsite", + "domain": "https://hozon.site" +}