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) {
|
||||
get("state") {
|
||||
call.respondHtml {
|
||||
head {
|
||||
meta {
|
||||
httpEquiv = "refresh"
|
||||
content = "2"
|
||||
}
|
||||
}
|
||||
body {
|
||||
h1 { +"Magix loop statistics" }
|
||||
h2 { +"Number of subscribers: ${magixFlow.subscriptionCount.value}" }
|
||||
|
Loading…
Reference in New Issue
Block a user