コンフィグ

このコミットが含まれているのは:
守矢諏訪子 2023-05-14 11:44:09 +09:00
コミット 3a63caff2e
2個のファイルの変更5行の追加1行の削除

ファイルの表示

@ -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"

4
config.json ノーマルファイル
ファイルの表示

@ -0,0 +1,4 @@
{
"webpath": "/var/www/htdocs/hozonsite",
"domain": "https://hozon.site"
}