修改运行路径

This commit is contained in:
2026-06-24 11:32:45 +08:00
parent 1fc933e014
commit 2875918289
2 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ func generateSecret() string {
// getDefaultSocketPath returns the OS-aware default unix socket path.
func getDefaultSocketPath() string {
if runtime.GOOS == "linux" {
return "/opt/blog_go/web.sock"
return "/run/blog_go/web.sock"
}
return ""
}