mirror of
https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
synced 2025-11-03 18:36:05 +00:00
added config values to dashboard
This commit is contained in:
@@ -28,6 +28,8 @@
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<pre id="config"></pre>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
@@ -37,5 +39,12 @@
|
||||
function downloadClientToken() {
|
||||
window.open('/-/client-token', "_blank")
|
||||
}
|
||||
|
||||
function load() {
|
||||
const config = document.getElementById('config')
|
||||
fetchConfig(config)
|
||||
}
|
||||
|
||||
load()
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user