From c01db72ec3eb0ee67f0db6edf4548a53ca28a97a Mon Sep 17 00:00:00 2001 From: wangyan Date: Tue, 14 May 2024 10:50:01 +0800 Subject: [PATCH] =?UTF-8?q?Fix:=E4=BF=AE=E6=94=B9=E9=80=9A=E4=BF=A1?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=90=8D=E5=AD=97,=E5=9C=A8=E6=9C=AB?= =?UTF-8?q?=E5=B0=BE=E5=8A=A0=E4=B8=8AUID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/server.cpp b/src/server.cpp index 01acb08..8ae5820 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -18,9 +18,10 @@ #include #include #include +#include #include "thirdparty/threadpool/async.h" -const std::string Server::filePath_ = "/tmp/org.openkylin.aisdk.aiscene"; +const std::string Server::filePath_ = "/tmp/org.openkylin.aisdk.aibusiness." + std::to_string(geteuid()); const std::string Server::unixPath_ = "unix:path=" + filePath_; Server &Server::getInstance() { -- Gitee