refactor/fix: api redoc

This commit is contained in:
Ryan
2025-04-26 17:31:51 -04:00
committed by GitHub
parent 0a9d332d60
commit 41ade2e205
4 changed files with 15 additions and 7 deletions

6
public/js/redoc-init.js Normal file
View File

@@ -0,0 +1,6 @@
// public/js/redoc-init.js
if (!customElements.get('redoc')) {
Redoc.init(window.location.origin + '/api.php?spec=1',
{},
document.getElementById('redoc-container'));
}