Spaces:
Sleeping
Sleeping
Update settings.html
Browse files- settings.html +2 -2
settings.html
CHANGED
|
@@ -80,7 +80,7 @@
|
|
| 80 |
|
| 81 |
<script>
|
| 82 |
function loadSettings() {
|
| 83 |
-
fetch('/
|
| 84 |
method: 'POST',
|
| 85 |
headers: {
|
| 86 |
'Content-Type': 'application/json'
|
|
@@ -110,7 +110,7 @@
|
|
| 110 |
data[key] = value;
|
| 111 |
}
|
| 112 |
});
|
| 113 |
-
fetch('/
|
| 114 |
method: 'POST',
|
| 115 |
headers: {
|
| 116 |
'Content-Type': 'application/json'
|
|
|
|
| 80 |
|
| 81 |
<script>
|
| 82 |
function loadSettings() {
|
| 83 |
+
fetch('/load_settings', {
|
| 84 |
method: 'POST',
|
| 85 |
headers: {
|
| 86 |
'Content-Type': 'application/json'
|
|
|
|
| 110 |
data[key] = value;
|
| 111 |
}
|
| 112 |
});
|
| 113 |
+
fetch('/save_settings', {
|
| 114 |
method: 'POST',
|
| 115 |
headers: {
|
| 116 |
'Content-Type': 'application/json'
|