chore: update deploy guide doc

This commit is contained in:
email
2022-02-06 11:26:53 +08:00
parent ff5a1eebd7
commit 516ca61b73
3 changed files with 8 additions and 7 deletions

View File

@@ -42,7 +42,7 @@ func checkDSN(dataDir string) (string, error) {
func GetProfile() Profile {
mode := flag.String("mode", "dev", "")
port := flag.Int("port", 8080, "")
data := flag.String("data", "", "")
data := flag.String("data", "/var/opt/memos", "")
flag.Parse()
dataDir, err := checkDSN(*data)