Spaces:
Paused
Paused
BinaryONe
commited on
Commit
·
a6b025b
1
Parent(s):
7c5cf76
Changes
Browse files
WebSSH/templates/index.html
CHANGED
|
@@ -64,7 +64,7 @@
|
|
| 64 |
function run_commands() {
|
| 65 |
const command = document.getElementById('command').value;
|
| 66 |
fetch('/commands', {
|
| 67 |
-
method: '
|
| 68 |
headers: {
|
| 69 |
'Content-Type': 'application/json'
|
| 70 |
},
|
|
@@ -80,7 +80,7 @@
|
|
| 80 |
var username = document.getElementById('username').value;
|
| 81 |
var password = document.getElementById('password').value;
|
| 82 |
fetch('/get_key', {
|
| 83 |
-
method: '
|
| 84 |
headers: {
|
| 85 |
'Content-Type': 'application/json'
|
| 86 |
},
|
|
|
|
| 64 |
function run_commands() {
|
| 65 |
const command = document.getElementById('command').value;
|
| 66 |
fetch('/commands', {
|
| 67 |
+
method: 'POST',
|
| 68 |
headers: {
|
| 69 |
'Content-Type': 'application/json'
|
| 70 |
},
|
|
|
|
| 80 |
var username = document.getElementById('username').value;
|
| 81 |
var password = document.getElementById('password').value;
|
| 82 |
fetch('/get_key', {
|
| 83 |
+
method: 'POST',
|
| 84 |
headers: {
|
| 85 |
'Content-Type': 'application/json'
|
| 86 |
},
|