修改运行路径
This commit is contained in:
+1
-1
@@ -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 ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user