Update settings.html
Browse files- settings.html +6 -2
settings.html
CHANGED
@@ -61,6 +61,9 @@
|
|
61 |
<label for="api_key_sys">api_key_sys:</label>
|
62 |
<input type="text" id="api_key_sys" name="api_key_sys" onblur="saveApiKeySys()"><br><br>
|
63 |
|
|
|
|
|
|
|
64 |
<label for="crypto_key_sys">crypto_key_sys:</label>
|
65 |
<input type="text" id="crypto_key_sys" name="crypto_key_sys"><br><br>
|
66 |
|
@@ -106,9 +109,10 @@
|
|
106 |
})
|
107 |
.then(response => response.json())
|
108 |
.then(data => {
|
109 |
-
document.getElementById('
|
110 |
document.getElementById('crypto_key_sys').value = data.crypto_key_sys;
|
111 |
-
document.getElementById('crypto_url_sys').value = data.crypto_url_sys;
|
|
|
112 |
document.getElementById('senler_token').value = data.senler_token;
|
113 |
document.getElementById('wa_ak').value = data.wa_ak;
|
114 |
document.getElementById('wa_api_key').value = data.wa_api_key;
|
|
|
61 |
<label for="api_key_sys">api_key_sys:</label>
|
62 |
<input type="text" id="api_key_sys" name="api_key_sys" onblur="saveApiKeySys()"><br><br>
|
63 |
|
64 |
+
<label for="api_key_admin">api_key_admin:</label>
|
65 |
+
<input type="text" id="api_key_admin" name="api_key_admin"><br><br>
|
66 |
+
|
67 |
<label for="crypto_key_sys">crypto_key_sys:</label>
|
68 |
<input type="text" id="crypto_key_sys" name="crypto_key_sys"><br><br>
|
69 |
|
|
|
109 |
})
|
110 |
.then(response => response.json())
|
111 |
.then(data => {
|
112 |
+
document.getElementById('api_key_admin').value = data.api_key_admin;
|
113 |
document.getElementById('crypto_key_sys').value = data.crypto_key_sys;
|
114 |
+
document.getElementById('crypto_url_sys').value = data.crypto_url_sys;
|
115 |
+
document.getElementById('vk_api_key').value = data.vk_api_key;
|
116 |
document.getElementById('senler_token').value = data.senler_token;
|
117 |
document.getElementById('wa_ak').value = data.wa_ak;
|
118 |
document.getElementById('wa_api_key').value = data.wa_api_key;
|