diff --git a/app.js b/app.js index 51bcd1e..610496b 100644 --- a/app.js +++ b/app.js @@ -19,7 +19,7 @@ const service = "[Unit]\n" + function generateQuickCmd() { let reqData = "{" + - "\"content\":\"" + buildCmd() + "\"" + + "\"content\":\"" + encodeURI(buildCmd()) + "\"" + "}"; fetch("https://api.nevets.tech/ngx/create", {