diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 20e07e9..2bf84a2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,7 +18,7 @@ jobs: - name: Cache xmake dependencies uses: actions/cache@v4 with: - path: ~/.xmake/packages + path: /home/runner/.xmake/packages key: ${{ runner.os }}-xmake-deps-linux-${{ hashFiles('**/xmake.lua') }} restore-keys: | ${{ runner.os }}-xmake-deps-linux- diff --git a/src/signal_server.cpp b/src/signal_server.cpp index ea03b0c..3ae95ff 100644 --- a/src/signal_server.cpp +++ b/src/signal_server.cpp @@ -73,7 +73,7 @@ context_ptr SignalServer::OnTlsInit(websocketpp::connection_hdl hdl) { asio::ssl::context::default_workarounds | asio::ssl::context::no_sslv2 | asio::ssl::context::no_sslv3 | asio::ssl::context::single_dh_use); - std::string cert_file = certs_dir_ + "crossdesk.cn_bundle.crt"; + std::string cert_file = certs_dir_ + "/crossdesk.cn_bundle.crt"; std::string key_file = certs_dir_ + "/crossdesk.cn.key"; ctx->use_certificate_chain_file(cert_file); ctx->use_private_key_file(key_file, asio::ssl::context::pem);