URI Encode
This commit is contained in:
2
app.js
2
app.js
@@ -19,7 +19,7 @@ const service = "[Unit]\n" +
|
|||||||
|
|
||||||
function generateQuickCmd() {
|
function generateQuickCmd() {
|
||||||
let reqData = "{" +
|
let reqData = "{" +
|
||||||
"\"content\":\"" + buildCmd() + "\"" +
|
"\"content\":\"" + encodeURI(buildCmd()) + "\"" +
|
||||||
"}";
|
"}";
|
||||||
|
|
||||||
fetch("https://api.nevets.tech/ngx/create", {
|
fetch("https://api.nevets.tech/ngx/create", {
|
||||||
|
|||||||
Reference in New Issue
Block a user