diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index e87f8ac..fe4f2f8 100755 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -87,7 +87,8 @@ jobs: username: ${{ vars.YUYUN_USER }} password: ${{ secrets.SERVER_ROOT_PASSWORD }} script: | - systemctl restart openresty.service; exit 0 + cd /root/Server + openresty -p . -s reload - name: Notify-End if: ${{ always() }} run: | diff --git a/WebApplication/Dialog.cpp b/WebApplication/Dialog.cpp index 49bb6c6..32d7bca 100644 --- a/WebApplication/Dialog.cpp +++ b/WebApplication/Dialog.cpp @@ -36,7 +36,7 @@ void Dialog::setStatus(const Wt::WString &result) { } void Dialog::messageBox1() { - Wt::WMessageBox::show("信息", "这是一个对话框示例。 ", Wt::StandardButton::Ok); + Wt::WMessageBox::show("信息", "这是一个对话框示例。", Wt::StandardButton::Ok); setStatus("Ok'ed"); }