URI Encode
This commit is contained in:
parent
2019c22436
commit
6cf4c75e36
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", {
|
||||||
|
Loading…
Reference in New Issue
Block a user