add auto-reload to magix server status page
This commit is contained in:
parent
d0f22eec93
commit
1cf7058778
@ -112,6 +112,12 @@ public fun Application.magixModule(magixFlow: MutableSharedFlow<GenericMagixMess
|
|||||||
route(route) {
|
route(route) {
|
||||||
get("state") {
|
get("state") {
|
||||||
call.respondHtml {
|
call.respondHtml {
|
||||||
|
head {
|
||||||
|
meta {
|
||||||
|
httpEquiv = "refresh"
|
||||||
|
content = "2"
|
||||||
|
}
|
||||||
|
}
|
||||||
body {
|
body {
|
||||||
h1 { +"Magix loop statistics" }
|
h1 { +"Magix loop statistics" }
|
||||||
h2 { +"Number of subscribers: ${magixFlow.subscriptionCount.value}" }
|
h2 { +"Number of subscribers: ${magixFlow.subscriptionCount.value}" }
|
||||||
|
Loading…
Reference in New Issue
Block a user