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