Hello folks! I’ve got a pretty basic question I be...
# ktor
k
Hello folks! I’ve got a pretty basic question I believe. I’d like to render a static html page for some endpoints of my routing function before executing some functions when this endpoint is called. For instance, in the example below:
Copy code
get("/api/v1.0/tests/actionschain/{wsId}"){
    call.respondRedirect("/lit")
    updateValidFilesTable()
    executeQuickAction(wsId)

}
I’d like to render the static html page accessible via “/lit” before executing the other functions. Now, the page is rendered only when the other functions are completed. Is that even possible? Thank you !