Spaces:
Running
Running
Update settings.html
Browse files- settings.html +3 -3
settings.html
CHANGED
@@ -13,8 +13,8 @@
|
|
13 |
<label for="ALLOWED_ORIGIN">ALLOWED_ORIGIN:</label>
|
14 |
<input type="text" id="ALLOWED_ORIGIN" name="ALLOWED_ORIGIN"><br><br>
|
15 |
|
16 |
-
<label for="
|
17 |
-
<input type="text" id="
|
18 |
|
19 |
<button type="button" onclick="saveSettings()">Save</button>
|
20 |
</form>
|
@@ -28,7 +28,7 @@
|
|
28 |
.then(data => {
|
29 |
document.getElementById('api_key_sys').value = data.api_key_sys;
|
30 |
document.getElementById('ALLOWED_ORIGIN').value = data.ALLOWED_ORIGIN;
|
31 |
-
document.getElementById('
|
32 |
})
|
33 |
.catch(error => console.error('Error:', error));
|
34 |
}
|
|
|
13 |
<label for="ALLOWED_ORIGIN">ALLOWED_ORIGIN:</label>
|
14 |
<input type="text" id="ALLOWED_ORIGIN" name="ALLOWED_ORIGIN"><br><br>
|
15 |
|
16 |
+
<label for="vk_api_key">vk_api_key:</label>
|
17 |
+
<input type="text" id="vk_api_key" name="vk_api_key"><br><br>
|
18 |
|
19 |
<button type="button" onclick="saveSettings()">Save</button>
|
20 |
</form>
|
|
|
28 |
.then(data => {
|
29 |
document.getElementById('api_key_sys').value = data.api_key_sys;
|
30 |
document.getElementById('ALLOWED_ORIGIN').value = data.ALLOWED_ORIGIN;
|
31 |
+
document.getElementById('vk_api_key').value = data.vk_api_key;
|
32 |
})
|
33 |
.catch(error => console.error('Error:', error));
|
34 |
}
|