Dev #6
@ -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…
x
Reference in New Issue
Block a user