bugfix permissions

This commit is contained in:
2026-04-28 15:35:20 +02:00
parent 061188a3c0
commit c98089e359
14 changed files with 47 additions and 125 deletions

View File

@@ -10,7 +10,7 @@
</div>
<script>
fetch('/api/getStyles', { method: 'POST' })
fetch('/api/styles/get', { method: 'POST' })
.then(res => res.json())
.then(json => {
const tree = createJsonTree({
@@ -18,7 +18,7 @@
data: json,
expandInitially: true,
onSave: json => {
fetch('/style', {
fetch('/api/styles/save', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(tree.getChanges(), null, 2)