added unwrapped json for gallery-image/list and news/list, integerated news-list api into news api

This commit is contained in:
2024-11-05 01:01:07 +09:00
parent d4ec57aa0d
commit 1ab17242f7
7 changed files with 95 additions and 73 deletions

View File

@@ -34,7 +34,7 @@
<h4>News</h4>
<button hx-get="/api/news-list" hx-trigger="click" hx-swap="innerHTML" hx-target="#news-entries">Refresh</button>
<button hx-get="/api/news/list" hx-trigger="click" hx-swap="innerHTML" hx-target="#news-entries">Refresh</button>
<table>
<thead>
<tr>